Project

General

Profile

« Previous | Next » 

Revision 8058

web/main/.htaccess: use separate lowercase version when available: Also support input strings in mixed case which is not the default capitalization, in addition to all-lowercase strings

View differences:

.htaccess
21 21

  
22 22
# use separate lowercase version when available
23 23
RewriteCond %{DOCUMENT_ROOT}/$1 !-d
24
RewriteCond .$1 ^.*$
24
RewriteCond .${tolower:$1} ^.*$
25 25
RewriteCond %{DOCUMENT_ROOT}/%0 -d
26 26
RewriteRule ^([^/]*)(/.*)$ %0$2 [discardpath,noescape]
27 27

  

Also available in: Unified diff