Revision 14647
Added by Aaron Marcuse-Kubitza about 10 years ago
.htaccess | ||
---|---|---|
5 | 5 |
|
6 | 6 |
# dir without trailing / is provided as an absolute filesystem path |
7 | 7 |
RewriteCond %{ENV:innermost_dir} =Redmine |
8 |
RewriteRule ^/ !wiki [discardpath,noescape,qsappend]
|
|
8 |
RewriteRule ^/ wiki [discardpath,noescape,qsappend] |
|
9 | 9 |
RewriteCond %{ENV:innermost_dir} =Redmine |
10 |
RewriteCond %{REQUEST_FILENAME} !-d |
|
11 | 10 |
RewriteRule ^!?(.+)$ https://projects.nceas.ucsb.edu/nceas/projects/bien/$1 [discardpath,last,noescape,qsappend] |
12 | 11 |
# remove any ! prefix used to avoid using a subdir's .htaccess |
Also available in: Unified diff
bugfix: web/BIEN3/Redmine/.htaccess: subpath redirect: also redirect dirs, so that empty-subdir main-page redirects (eg. wiki.vegpath.org) work properly