Revision 8054
Added by Aaron Marcuse-Kubitza almost 12 years ago
.htaccess | ||
---|---|---|
19 | 19 |
|
20 | 20 |
# use separate lowercase version when available |
21 | 21 |
RewriteCond %{DOCUMENT_ROOT}/$1 !-d |
22 |
RewriteCond %{DOCUMENT_ROOT}/$1_ -d
|
|
23 |
RewriteRule ^([^/]*)(/.*)$ $1_$2 [discardpath,noescape]
|
|
22 |
RewriteCond %{DOCUMENT_ROOT}/.$1 -d
|
|
23 |
RewriteRule ^([^/]*)(/.*)$ .$1$2 [discardpath,noescape]
|
|
24 | 24 |
|
25 | 25 |
# don't rewrite existing paths |
26 | 26 |
RewriteCond %{REQUEST_FILENAME} -d [ornext] |
Also available in: Unified diff
web/main/.htaccess: Name the lowercased versions of dirs with a leading . (to make them hidden) instead of a trailing _ , to avoid having each dir listed twice in a row in the dir index