Revision 8400
Added by Aaron Marcuse-Kubitza over 11 years ago
.htaccess | ||
---|---|---|
5 | 5 |
# parse dotpath in the query string |
6 | 6 |
RewriteCond %{QUERY_STRING} ^(?!&).+$ |
7 | 7 |
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$ |
8 |
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
|
|
8 |
RewriteRule ^.*$ /dotpath%1 [discardpath,noescape,last] |
|
9 | 9 |
|
10 | 10 |
# don't rewrite existing paths |
11 | 11 |
RewriteCond %{REQUEST_FILENAME} -d [ornext] |
Also available in: Unified diff
web/**/.htaccess: parse dotpath in the query string: Use just dotpath instead of dotpath.php because the extension is added automatically by MultiViews