Project

General

Profile

« Previous | Next » 

Revision 8477

web/.htaccess: auto-add trailing / if not external redirect: removed no longer applicable comment that dir without trailing / is provided as an absolute filesystem path, because this is only true in inner .htaccess files for their top-level dirs

View differences:

.htaccess
46 46
# auto-add trailing / if not external redirect (limited form of DirectorySlash)
47 47
RewriteCond %{LA-F:REQUEST_FILENAME} -d
48 48
RewriteRule ^.+(?<!/)$ %{REQUEST_URI}/ [discardpath,noescape,last,redirect,qsappend]
49
	# ^/: dir without trailing / is provided as an absolute filesystem path
50 49

  
51 50
# don't rewrite existing paths
52 51
RewriteCond %{REQUEST_FILENAME} -d [ornext]

Also available in: Unified diff