1 |
8114
|
aaronmk
|
RewriteEngine on
|
2 |
8446
|
aaronmk
|
RewriteOptions AllowNoSlash InheritBefore
|
3 |
8114
|
aaronmk
|
|
4 |
8444
|
aaronmk
|
SetEnvIf Request_URI ^ innermost_dir=IH
|
5 |
|
|
|
6 |
8407
|
aaronmk
|
# dir without trailing / is provided as an absolute filesystem path
|
7 |
8445
|
aaronmk
|
RewriteCond %{ENV:innermost_dir} =IH
|
8 |
8407
|
aaronmk
|
RewriteCond $0 ^/ [ornext]
|
9 |
|
|
RewriteCond herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 ^(.*)$
|
10 |
8450
|
aaronmk
|
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/%1 [discardpath,noescape,last,qsappend]
|