Project

General

Profile

« Previous | Next » 

Revision 8400

web/**/.htaccess: parse dotpath in the query string: Use just dotpath instead of dotpath.php because the extension is added automatically by MultiViews

View differences:

.htaccess
33 33
RewriteRule ^dotpath - [discardpath,noescape,last]
34 34
RewriteCond %{QUERY_STRING} ^(?!&).+$
35 35
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
36
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
36
RewriteRule ^.*$ /dotpath%1 [discardpath,noescape,last]
37 37

  
38 38
# don't rewrite existing paths
39 39
RewriteCond %{REQUEST_FILENAME} -d [ornext]

Also available in: Unified diff