Project

General

Profile

1 8063 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8063 aaronmk
4 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=Redmine
5
6 8407 aaronmk
# dir without trailing / is provided as an absolute filesystem path
7 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =Redmine
8 14508 aaronmk
RewriteCond $1 ^/ [ornext]
9
RewriteCond /$1 ^(.*)$
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