Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

    
4
SetEnvIf Request_URI ^ innermost_dir=IH
5

    
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =IH
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 ^(.*)$
10
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/%1 [discardpath,last,noescape,qsappend]
    (1-1/1)