Project

General

Profile

« Previous | Next » 

Revision 8358

web/main/IH/.htaccess: RewriteRule: Fixed bug where need to \-escape % because it's a special character in the replacement string (it references a regexp group matched by the last RewriteCond)

View differences:

web/main/IH/.htaccess
2 2
RewriteOptions inherit
3 3

  
4 4
RewriteRule ^$           http://sweetgum.nybg.org/ih/                                                                                                                         [discardpath,noescape,last]
5
RewriteRule ^(?:(.*)/)?$ http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+%3D+%27IH+Herbarium%27&col_NamOrganisationAcronym=$1 [discardpath,noescape,last]
5
RewriteRule ^(?:(.*)/)?$ http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$1 [discardpath,noescape,last]

Also available in: Unified diff