Revision 14505
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/BIEN3/Redmine/issues/.htaccess | ||
---|---|---|
1 |
# this dir only needed because Apache does not support dangling symlinks |
|
1 |
RewriteEngine on |
|
2 |
RewriteOptions AllowNoSlash InheritBefore |
|
3 |
RewriteBase /BIEN3/Redmine/issues/ |
|
4 |
# needed for .. redirects |
|
2 | 5 |
|
3 |
SetEnvIf Request_URI ^ ignore_fs=1 |
|
6 |
SetEnvIf Request_URI ^ innermost_dir=issues |
|
7 |
|
|
8 |
# dir without trailing / is provided as an absolute filesystem path |
|
9 |
RewriteCond %{ENV:innermost_dir} =issues |
|
10 |
RewriteRule ^/ ../main/issues [discardpath,last,noescape,qsappend] |
|
11 |
RewriteCond %{ENV:innermost_dir} =issues |
|
12 |
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/issues/$0 [discardpath,last,noescape,qsappend] |
Also available in: Unified diff
bugfix: web/BIEN3/Redmine/issues/.htaccess: need to redirect to separate URL for individual issues, because they are not located under the issues/ subdir in Redmine