Revision 8442
Added by Aaron Marcuse-Kubitza over 11 years ago
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
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