Revision 7970
Added by Aaron Marcuse-Kubitza over 11 years ago
web/vegpath/.htaccess | ||
---|---|---|
24 | 24 |
RewriteCond %{REQUEST_FILENAME} -l |
25 | 25 |
RewriteRule ^.*$ - [last] |
26 | 26 |
|
27 |
# translate path head to dir |
|
28 |
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext] |
|
29 |
RewriteCond %{DOCUMENT_ROOT}/$1 -l |
|
30 |
RewriteRule ^([^.]*)\.(.*)$ $1/$2 |
|
31 |
|
|
27 | 32 |
# non-filesystem paths |
28 | 33 |
ErrorDocument 404 /index.php |
Also available in: Unified diff
web/vegpath/.htaccess: translate path head to dir (if the dir exists)