Project

General

Profile

« Previous | Next » 

Revision 13679

bugfix: web/.htaccess: forced mod_autoindex listing: use $usernames_disabled to ensure that usernames stay disabled even when /all path is removed

View differences:

trunk/web/.htaccess
83 83
	# - uses REQUEST_FILENAME as redirect dest instead of empty REQUEST_URI
84 84

  
85 85
# <dir>/all forces mod_autoindex listing
86
RewriteRule ^(.*/)?all$ $1 [discardpath,last,noescape,qsappend,env=mod_autoindex_listing:1]
86
RewriteRule ^(.*/)?all$ $1 [discardpath,last,noescape,qsappend,env=mod_autoindex_listing:1,env=usernames_disabled:1]
87 87

  
88 88
# for dirs, redirect to index.* unless mod_autoindex listing was requested
89 89
# can't use "index" b/c MultiViews doesn't support that filename in Ubuntu 14.04

Also available in: Unified diff