Revision 13678
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/.htaccess | ||
---|---|---|
42 | 42 |
## original URL (if specified) also doesn't have path |
43 | 43 |
RewriteCond %{REDIRECT_REQUEST_URI} ="" [ornext] |
44 | 44 |
RewriteCond %{REDIRECT_REQUEST_URI} =/ |
45 |
# another RewriteRule (in a previous round) didn't turn off usernames |
|
46 |
RewriteCond %{ENV:REDIRECT_usernames_disabled} ="" |
|
45 | 47 |
RewriteRule ^.*$ username_prefix.php [discardpath,last,noescape,qsappend] |
46 | 48 |
|
47 | 49 |
# remove www subdomain |
Also available in: Unified diff
bugfix: web/.htaccess: username-based prefix subpaths: added back usernames_disabled env var, because it is needed if a RewriteRule in a previous round creates an empty path (mod_rewrite runs the RewriteRules repeatedly until no replacements are made)