1
|
RewriteEngine on
|
2
|
RewriteOptions AllowNoSlash InheritBefore
|
3
|
|
4
|
SetEnvIf Request_URI ^ innermost_dir=Redmine
|
5
|
|
6
|
# dir without trailing / is provided as an absolute filesystem path
|
7
|
RewriteCond %{ENV:innermost_dir} =Redmine
|
8
|
RewriteRule ^/ wiki [discardpath,noescape,qsappend]
|
9
|
RewriteCond %{ENV:innermost_dir} =Redmine
|
10
|
RewriteRule ^!?(.+)$ https://projects.nceas.ucsb.edu/nceas/projects/bien/$1 [discardpath,last,noescape,qsappend]
|
11
|
# remove any ! prefix used to avoid using a subdir's .htaccess
|