Revision 13675
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/.htaccess | ||
---|---|---|
41 | 41 |
# doesn't have path (which disables usernames to avoid needing trailing . ) |
42 | 42 |
RewriteCond %{REDIRECT_REQUEST_URI} =/ |
43 | 43 |
# original URL also doesn't have path |
44 |
RewriteCond %{ENV:usernames_disabled} ="" |
|
45 |
# not explicitly disabled by a RewriteRule |
|
46 | 44 |
RewriteRule ^.*$ username_prefix.php [discardpath,last,noescape,qsappend] |
47 | 45 |
|
48 | 46 |
# remove www subdomain |
Also available in: Unified diff
web/.htaccess: username-based prefix subpaths: removed usernames_disabled env var because the bug that appeared to require this has now been fixed