Revision 8390
Added by Aaron Marcuse-Kubitza almost 12 years ago
web/.htaccess | ||
---|---|---|
26 | 26 |
RewriteCond %{DOCUMENT_ROOT}/$1 !-d |
27 | 27 |
RewriteCond .${tolower:$1} ^.*$ |
28 | 28 |
RewriteCond %{DOCUMENT_ROOT}/%0 -d |
29 |
RewriteRule ^([^/]*)(/.*)$ %0$2 [discardpath,noescape,last]
|
|
29 |
RewriteRule ^([^/]*)(.*)$ %0$2 [discardpath,noescape,last] |
|
30 | 30 |
# last: rewrite in the new subdir instead of applying this dir's rules |
31 | 31 |
|
32 | 32 |
# parse dotpath in the query string |
Also available in: Unified diff
web/.htaccess: use separate lowercase version when available: Support paths without a trailing /