Project

General

Profile

« Previous | Next » 

Revision 8386

web/.htaccess: Removed "don't redirect subdir paths" because this is now handled by "don't rewrite existing paths" as described in r8375

View differences:

.htaccess
33 33
RewriteCond %{QUERY_STRING} ^(?!&).+$
34 34
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
35 35

  
36
# don't redirect subdir paths
37
RewriteCond %{DOCUMENT_ROOT}/$1 -d
38
RewriteRule ^([^/]+).*$ - [discardpath,noescape,last]
39

  
40 36
# don't rewrite existing paths
41 37
RewriteCond %{REQUEST_FILENAME} -d [ornext]
42 38
RewriteCond %{REQUEST_FILENAME} -f

Also available in: Unified diff