Project

General

Profile

1 8053 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8053 aaronmk
4 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=TNRS
5
6 8407 aaronmk
# dir without trailing / is provided as an absolute filesystem path
7 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =TNRS
8 8407 aaronmk
RewriteCond $0 ^/ [ornext]
9 8511 aaronmk
RewriteCond ?$0 ^(.*)$
10 13621 aaronmk
RewriteRule ^.+$ http://tnrs.iplantcollaborative.org/instructions.html%1 [chain,discardpath,noescape,qsappend]
11
# qsappend does not support fragment, so append it separately
12
RewriteCond %{QUERY_STRING} ="" [ornext]
13
RewriteCond ?%{QUERY_STRING} ^.*$
14
RewriteRule ^.*$ $0%0#download_results [discardpath,last,noescape]