Revision 8400
Added by Aaron Marcuse-Kubitza over 11 years ago
.htaccess | ||
---|---|---|
4 | 4 |
# parse dotpath in the query string |
5 | 5 |
RewriteCond %{QUERY_STRING} ^(?!&).+$ |
6 | 6 |
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$ |
7 |
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
|
|
7 |
RewriteRule ^.*$ /dotpath%1 [discardpath,noescape,last] |
|
8 | 8 |
|
9 | 9 |
# don't rewrite existing paths |
10 | 10 |
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