Revision 14646
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/BIEN3/Redmine/.htaccess | ||
---|---|---|
5 | 5 |
|
6 | 6 |
# dir without trailing / is provided as an absolute filesystem path |
7 | 7 |
RewriteCond %{ENV:innermost_dir} =Redmine |
8 |
RewriteCond $1 ^/ [ornext] |
|
9 |
RewriteCond /$1 ^(.*)$ |
|
10 |
RewriteRule ^!?(.+)$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,last,noescape,qsappend] |
|
8 |
RewriteRule ^/ !wiki [discardpath,noescape,qsappend] |
|
9 |
RewriteCond %{ENV:innermost_dir} =Redmine |
|
10 |
RewriteCond %{REQUEST_FILENAME} !-d |
|
11 |
RewriteRule ^!?(.+)$ https://projects.nceas.ucsb.edu/nceas/projects/bien/$1 [discardpath,last,noescape,qsappend] |
|
11 | 12 |
# remove any ! prefix used to avoid using a subdir's .htaccess |
Also available in: Unified diff
bugfix: web/BIEN3/Redmine/.htaccess: main page should continue to redirect to wiki, not Redmine project page