Project

General

Profile

« Previous | Next » 

Revision 8407

web/**/.htaccess: RewriteOptions: Redirect dir paths without the trailing / to the datasource's homepage, and let dir paths with the trailing / point to the directory index. This is the opposite of the way it was before, and is more intuitive because the trailing / indicates a directory listing, while the trailing / would generally be omitted when linking to the datasource itself.

View differences:

web/servers/vegbiendev/db/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow%1 [discardpath,noescape,last]
web/BIEN2/core/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/bien2/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/bien2%1 [discardpath,noescape,last]
web/BIEN2/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ web/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ web%1 [discardpath,noescape,last]
web/BIEN2/web/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/bien_web/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/bien_web%1 [discardpath,noescape,last]
web/IH/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^$   http://sweetgum.nybg.org/ih/                                                                                                                            [discardpath,noescape,last]
18
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 ^(.*)$
20
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/%1 [discardpath,noescape,last]
inputs/CTFS/terms/.htaccess
10 10
# don't rewrite existing paths
11 11
RewriteCond %{REQUEST_FILENAME} -d [ornext]
12 12
RewriteCond %{REQUEST_FILENAME} -f
13
RewriteRule ^.+$ - [discardpath,noescape,last]
13
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
14 14

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

  
18
RewriteRule ^.*$ ../_src/ctfs-comments_worksheet.xls#$0 [discardpath,noescape,last,redirect]
18
# dir without trailing / is provided as an absolute filesystem path
19
RewriteCond $0 ^/ [ornext]
20
RewriteCond #$0 ^(.*)$
21
RewriteRule ^.+$ ../_src/ctfs-comments_worksheet.xls%1 [discardpath,noescape,last,redirect]
inputs/CTFS/schema/.htaccess
10 10
# don't rewrite existing paths
11 11
RewriteCond %{REQUEST_FILENAME} -d [ornext]
12 12
RewriteCond %{REQUEST_FILENAME} -f
13
RewriteRule ^.+$ - [discardpath,noescape,last]
13
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
14 14

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

  
18
RewriteRule ^.*$ ../_archive/DBv5.txt#$0 [discardpath,noescape,last,redirect]
18
# dir without trailing / is provided as an absolute filesystem path
19
RewriteCond $0 ^/ [ornext]
20
RewriteCond #$0 ^(.*)$
21
RewriteRule ^.+$ ../_archive/DBv5.txt%1 [discardpath,noescape,last,redirect]
inputs/CTFS/tables/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /wiki/CTFS/?$0#Tables [discardpath,noescape,last,redirect]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond ?$0 ^(.*)$
20
RewriteRule ^.+$ /wiki/CTFS%1#Tables [discardpath,noescape,last,redirect]
inputs/CTFS/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ schema/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ schema%1 [discardpath,noescape,last]
inputs/SALVIAS/db/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/salvias_plots/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/salvias_plots%1 [discardpath,noescape,last]
inputs/SALVIAS/dd/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape]
18
RewriteRule ^.*$ http://salvias.net/Documents/salvias_data_dictionary.html#$0 [discardpath,noescape,last]
17
RewriteRule ^(?!/)(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape]
18
# dir without trailing / is provided as an absolute filesystem path
19
RewriteCond $0 ^/ [ornext]
20
RewriteCond #$0 ^(.*)$
21
RewriteRule ^.+$ http://salvias.net/Documents/salvias_data_dictionary.html%1 [discardpath,noescape,last]
inputs/SALVIAS/users/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/salvias_users/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/salvias_users%1 [discardpath,noescape,last]
inputs/SALVIAS/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17 17
RedirectMatch ^/VegBIEN/Redmine/main$ https://projects.nceas.ucsb.edu/nceas/projects/bien/
18
RewriteRule ^.*$ dd/$0 [discardpath,noescape,last]
18
# dir without trailing / is provided as an absolute filesystem path
19
RewriteCond $0 ^/ [ornext]
20
RewriteCond /$0 ^(.*)$
21
RewriteRule ^.+$ dd%1 [discardpath,noescape,last]
inputs/VegBank/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^$                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
18 19
RewriteRule ^([^/]+)(?:/(.*))?$ http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=$1#$2 [discardpath,noescape,last]
web/VegBIEN/Redmine/svn-web/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /VegBIEN/Redmine/main/repository/entry/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/repository/entry%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/wiki/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^$   /VegBIEN/Redmine/main/wiki/Database_development/ [discardpath,noescape,last]
18
RewriteRule ^.+$ /VegBIEN/Redmine/main/wiki/$0                    [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^(?!/)(.+)$ [ornext]
19
RewriteCond Database_development ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/wiki/%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/main/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ https://projects.nceas.ucsb.edu/nceas/projects/bien/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/svn/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /VegBIEN/Redmine/main/repository/raw/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/repository/raw%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ wiki/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ wiki%1 [discardpath,noescape,last]
web/VegBIEN/db/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/vegbiendev/vegbien/public/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/vegbiendev/vegbien/public%1 [discardpath,noescape,last]
web/VegBIEN/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ db/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ db%1 [discardpath,noescape,last]
web/TNRS/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ http://tnrs.iplantcollaborative.org/instructions.html?$0#download_results [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond ?$0 ^(.*)$
20
RewriteRule ^.+$ http://tnrs.iplantcollaborative.org/instructions.html%1#download_results [discardpath,noescape,last]
web/TCS/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ http://www.tdwg.org/standards/117/download/#/v101.xsd#$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond #$0 ^(.*)$
20
RewriteRule ^.+$ http://www.tdwg.org/standards/117/download/#/v101.xsd%1 [discardpath,noescape,last]
web/.phpPgAdmin/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

  
14 14
# handle DirectoryIndex subrequests
15 15
RewriteRule ^index$() $1 [discardpath,noescape]
web/VegX/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond #$0 ^(.*)$
20
RewriteRule ^.+$ http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd%1 [discardpath,noescape,last]
web/DwC/history/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ http://rs.tdwg.org/dwc/terms/history/#$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond #$0 ^(.*)$
20
RewriteRule ^.+$ http://rs.tdwg.org/dwc/terms/history/%1 [discardpath,noescape,last]
web/DwC/terms/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ http://rs.tdwg.org/dwc/terms/#$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond #$0 ^(.*)$
20
RewriteRule ^.+$ http://rs.tdwg.org/dwc/terms/%1 [discardpath,noescape,last]
web/DwC/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ terms/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ terms%1 [discardpath,noescape,last]
web/.phpMyAdmin/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

  
14 14
# handle DirectoryIndex subrequests
15 15
RewriteRule ^index$() $1 [discardpath,noescape]
web/servers/nimoy/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /.phpMyAdmin/[nimoy.nceas.ucsb.edu/phpmyadmin]/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /.phpMyAdmin/[nimoy.nceas.ucsb.edu/phpmyadmin]%1 [discardpath,noescape,last]
web/servers/vegbiendev/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ db/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ db%1 [discardpath,noescape,last]
web/BIEN2/geoscrub/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/geoscrub/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/geoscrub%1 [discardpath,noescape,last]
web/BIEN2/staging/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/bien2_staging/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/bien2_staging%1 [discardpath,noescape,last]
web/IH/db/.htaccess
9 9
# don't rewrite existing paths
10 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
11 11
RewriteCond %{REQUEST_FILENAME} -f
12
RewriteRule ^.+$ - [discardpath,noescape,last]
12
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
13 13

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

  
17
RewriteRule ^.*$ /servers/nimoy/bien3_adb/ih/$0 [discardpath,noescape,last]
17
# dir without trailing / is provided as an absolute filesystem path
18
RewriteCond $0 ^/ [ornext]
19
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /servers/nimoy/bien3_adb/ih%1 [discardpath,noescape,last]

Also available in: Unified diff