Project

General

Profile

« Previous | Next » 

Revision 14508

web/BIEN3/Redmine/.htaccess: enable redirects that avoid using a subdir's .htaccess

View differences:

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 $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,last,noescape,qsappend]
8
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

Also available in: Unified diff