Revision 7977
Added by Aaron Marcuse-Kubitza almost 12 years ago
web/vegpath/.htaccess | ||
---|---|---|
34 | 34 |
RewriteCond %{DOCUMENT_ROOT}/%1/.htaccess -f |
35 | 35 |
RewriteRule ^.*$ %1/$0 [nosubreq] # avoid infinite recursion |
36 | 36 |
|
37 |
# translate path head to dir |
|
37 |
# translate dot-path head to dir
|
|
38 | 38 |
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext] |
39 | 39 |
RewriteCond %{DOCUMENT_ROOT}/$1 -l |
40 |
RewriteRule ^([^.]*)\.(.*)$ $1/$2 |
|
40 |
RewriteRule ^([^.]*)\.(.*)$ $1/$2 [last]
|
|
41 | 41 |
|
42 |
# translate dash-path head to dir |
|
43 |
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext] |
|
44 |
RewriteCond %{DOCUMENT_ROOT}/$1 -l |
|
45 |
RewriteRule ^([^.-]*)-(.*)$ $1/$2 [last] |
|
46 |
|
|
42 | 47 |
# non-filesystem paths |
43 | 48 |
ErrorDocument 404 / |
Also available in: Unified diff
web/vegpath/.htaccess: Also translate dash-paths (e.g. DwC-history) to dirs