Revision 8399
Added by Aaron Marcuse-Kubitza over 11 years ago
.htaccess | ||
---|---|---|
3 | 3 |
|
4 | 4 |
# parse dotpath in the query string |
5 | 5 |
RewriteCond %{QUERY_STRING} ^(?!&).+$ |
6 |
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last] |
|
6 |
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$ |
|
7 |
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last] |
|
7 | 8 |
|
8 | 9 |
# don't rewrite existing paths |
9 | 10 |
RewriteCond %{REQUEST_FILENAME} -d [ornext] |
10 | 11 |
RewriteCond %{REQUEST_FILENAME} -f |
11 | 12 |
RewriteRule ^.+$ - [discardpath,noescape,last] |
12 | 13 |
|
14 |
RedirectMatch ^/VegBIEN/Redmine/main$ https://projects.nceas.ucsb.edu/nceas/projects/bien/ |
|
13 | 15 |
RewriteRule ^.*$ dd/$0 [discardpath,noescape,last] |
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