Project

General

Profile

« Previous | Next » 

Revision 13306

web/.htaccess: for dirs, redirect to index.*: document it is actually just the filename "index" that MultiViews is broken for, other filenames work fine

View differences:

trunk/web/.htaccess
59 59
RewriteRule ^(.*/)?all$ $1 [discardpath,last,noescape,qsappend,env=mod_autoindex_listing:1]
60 60

  
61 61
# for dirs, redirect to index.* unless mod_autoindex listing was requested
62
# can't use just "index" because MultiViews doesn't work in Ubuntu 14.04
62
# can't use "index" b/c MultiViews doesn't support that filename in Ubuntu 14.04
63 63
RewriteCond %{REQUEST_FILENAME}index.php -F
64 64
	# use -F subrequest so that MultiViews auto-appends any extension
65 65
RewriteCond %{ENV:REDIRECT_mod_autoindex_listing} =""

Also available in: Unified diff