Revision 7997
Added by Aaron Marcuse-Kubitza over 11 years ago
.htaccess | ||
---|---|---|
19 | 19 |
RewriteCond expr "! $0 -fnmatch '%1*'" |
20 | 20 |
RewriteRule ^.*$ %0/$0 [last] |
21 | 21 |
|
22 |
# don't rewrite existing paths |
|
23 |
RewriteCond %{REQUEST_FILENAME} -d [ornext] |
|
24 |
RewriteCond %{REQUEST_FILENAME} -f [ornext] |
|
25 |
RewriteCond %{REQUEST_FILENAME} -l |
|
26 |
RewriteRule ^.*$ - [last] |
|
27 |
|
|
22 | 28 |
# translate dot-paths to dirs when they exist in the filesystem |
23 | 29 |
# each subdir Redirect directive needs a corresponding tree of (empty) dirs |
24 | 30 |
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext] |
Also available in: Unified diff
web/main/.htaccess: Added back "don't rewrite existing paths" to ensure that rules after it will not rewrite any actual files (web page dependencies)