Project

General

Profile

« Previous | Next » 

Revision 8406

web/**/.htaccess: handle DirectoryIndex subrequests, which append "index" to the dir

View differences:

.htaccess
11 11
RewriteCond %{REQUEST_FILENAME} -f
12 12
RewriteRule ^.+$ - [discardpath,noescape,last]
13 13

  
14
# handle DirectoryIndex subrequests
15
RewriteRule ^index$() $1 [discardpath,noescape]
16

  
14 17
RewriteRule ^$   http://sweetgum.nybg.org/ih/                                                                                                                            [discardpath,noescape,last]
15 18
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 [discardpath,noescape,last]

Also available in: Unified diff