Project

General

Profile

« Previous | Next » 

Revision 8442

web/.htaccess: don't rewrite existing paths: Changed match string to what is used in subdirs, so that if this rule is inherited, what is considered an existing path (i.e. a file or subdir) is restricted appropriately

View differences:

web/.htaccess
43 43
# don't rewrite existing paths
44 44
RewriteCond %{REQUEST_FILENAME} -d [ornext]
45 45
RewriteCond %{REQUEST_FILENAME} -f
46
RewriteRule ^ - [last]
46
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
47 47

  
48 48
## specific to /
49 49

  

Also available in: Unified diff