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