Project

General

Profile

« Previous | Next » 

Revision 13681

bugfix: web/.htaccess: username-based prefix subpaths: usernames_disabled: also need to support it being set in the current round

View differences:

trunk/web/.htaccess
45 45
RewriteCond %{REDIRECT_REQUEST_URI} =/
46 46
## doesn't have query string (which disables usernames to avoid trailing . )
47 47
RewriteCond %{QUERY_STRING} =""
48
# another RewriteRule (in a previous round) didn't turn off usernames
48
# another RewriteRule (possibly in a previous round) didn't turn off usernames
49
RewriteCond %{ENV:usernames_disabled} =""
49 50
RewriteCond %{ENV:REDIRECT_usernames_disabled} =""
50 51
RewriteRule ^.*$ username_prefix.php [discardpath,last,noescape,qsappend]
51 52

  

Also available in: Unified diff