Project

General

Profile

« Previous | Next » 

Revision 8389

web/.htaccess: use separate lowercase version when available: Fixed bug where need to use [last] flag, in order to rewrite in the new subdir instead of applying the rest of this dir's rules (which would forward to VegCore)

View differences:

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]
29
RewriteRule ^([^/]*)(/.*)$ %0$2 [discardpath,noescape,last]
30
	# last: rewrite in the new subdir instead of applying this dir's rules
30 31

  
31 32
# parse dotpath in the query string
32 33
RewriteRule ^dotpath - [discardpath,noescape,last]

Also available in: Unified diff