Revision 7992
Added by Aaron Marcuse-Kubitza over 11 years ago
web/main/.htaccess | ||
---|---|---|
19 | 19 |
RewriteCond expr "! $0 -fnmatch '%1*'" |
20 | 20 |
RewriteRule ^.*$ %0/$0 [last] |
21 | 21 |
|
22 |
# translate dot-paths to dirs |
|
22 |
# translate dot-paths to dirs when they exist in the filesystem |
|
23 |
# each subdir Redirect directive needs a corresponding tree of (empty) dirs |
|
23 | 24 |
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext] |
24 | 25 |
RewriteCond %{DOCUMENT_ROOT}/$1 -l |
25 | 26 |
RewriteRule ^([^.]*)\.(.*)$ $1/$2 [next] |
Also available in: Unified diff
web/main/.htaccess: translate dot-paths to dirs: Documented that this only occurs when the dirs exist in the filesystem, and that each subdir Redirect directive needs a corresponding tree of (empty) dirs