Project

General

Profile

« Previous | Next » 

Revision 8445

web/**/.htaccess: fallback rules which should not be inherited by subdirs: Filter using a RewriteCond on %{ENV:innermost_dir} so that the rule is only run if the innermost dir was this dir. (This is needed when using InheritBefore.)

View differences:

web/aggregators/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =aggregators
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/servers/vegbiendev/db/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =db
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow%1 [discardpath,noescape,last]
inputs/VegBIEN/Redmine/svn-web/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =svn-web
21 22
RewriteCond $0 ^/ [ornext]
22 23
RewriteCond /$0 ^(.*)$
23 24
RewriteRule ^.+$ ../main/repository/entry%1 [discardpath,noescape,last]
inputs/VegBIEN/Redmine/wiki/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =wiki
21 22
RewriteCond $0 ^(?!/)(.+)$ [ornext]
22 23
RewriteCond Database_development ^(.*)$
23 24
RewriteRule ^.+$ ../main/wiki/%1 [discardpath,noescape,last]
inputs/VegBIEN/Redmine/main/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =main
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,noescape,last]
inputs/VegBIEN/Redmine/svn/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =svn
21 22
RewriteCond $0 ^/ [ornext]
22 23
RewriteCond /$0 ^(.*)$
23 24
RewriteRule ^.+$ ../main/repository/raw%1 [discardpath,noescape,last]
inputs/VegBIEN/Redmine/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =Redmine
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ wiki%1 [discardpath,noescape,last]
inputs/VegBIEN/db/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =db
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/vegbiendev/vegbien/public%1 [discardpath,noescape,last]
.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =fs
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/aggregators/BIEN2/core/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =core
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/bien2%1 [discardpath,noescape,last]
web/aggregators/BIEN2/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =BIEN2
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ web%1 [discardpath,noescape,last]
web/aggregators/BIEN2/web/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =web
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/bien_web%1 [discardpath,noescape,last]
web/aggregators/IH/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =IH
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+\%3D+\%27IH+Herbarium\%27&col_NamOrganisationAcronym=$0 ^(.*)$
22 23
RewriteRule ^.+$ http://sweetgum.nybg.org/ih/%1 [discardpath,noescape,last]
web/servers/nimoy/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =nimoy
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /.phpMyAdmin/[nimoy.nceas.ucsb.edu/phpmyadmin]%1 [discardpath,noescape,last]
inputs/VegBIEN/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =VegBIEN
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ db%1 [discardpath,noescape,last]
inputs/CTFS/terms/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =terms
21 22
RewriteCond $0 ^/ [ornext]
22 23
RewriteCond #$0 ^(.*)$
23 24
RewriteRule ^.+$ ../_src/ctfs-comments_worksheet.xls%1 [discardpath,noescape,last,redirect]
inputs/CTFS/schema/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =schema
21 22
RewriteCond $0 ^/ [ornext]
22 23
RewriteCond #$0 ^(.*)$
23 24
RewriteRule ^.+$ ../_archive/DBv5.txt%1 [discardpath,noescape,last,redirect]
inputs/CTFS/tables/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =tables
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond ?&$0 ^(.*)$
22 23
RewriteRule ^.+$ /wiki/CTFS%1#Tables [discardpath,noescape,last,redirect]
inputs/CTFS/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =CTFS
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ schema%1 [discardpath,noescape,last]
inputs/SALVIAS/db/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =db
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/salvias_plots%1 [discardpath,noescape,last]
inputs/SALVIAS/dd/.htaccess
18 18

  
19 19
RewriteRule ^(?!/)(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape]
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =dd
21 22
RewriteCond $0 ^/ [ornext]
22 23
RewriteCond #$0 ^(.*)$
23 24
RewriteRule ^.+$ http://salvias.net/Documents/salvias_data_dictionary.html%1 [discardpath,noescape,last]
inputs/SALVIAS/users/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =users
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/salvias_users%1 [discardpath,noescape,last]
inputs/SALVIAS/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =SALVIAS
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ dd%1 [discardpath,noescape,last]
inputs/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =datasources
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
inputs/.TNRS/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =TNRS
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond ?&$0 ^(.*)$
22 23
RewriteRule ^.+$ http://tnrs.iplantcollaborative.org/instructions.html%1#download_results [discardpath,noescape,last]
inputs/VegBank/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =VegBank
20 21
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
22
RewriteCond %{ENV:innermost_dir} =VegBank
21 23
RewriteRule ^([^/]+)(?:/(.*))?$ http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=$1#$2 [discardpath,noescape,last]
schemas/TCS/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =TCS
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond #$0 ^(.*)$
22 23
RewriteRule ^.+$ http://www.tdwg.org/standards/117/download/#/v101.xsd%1 [discardpath,noescape,last]
schemas/VegX/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =VegX
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond #$0 ^(.*)$
22 23
RewriteRule ^.+$ http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd%1 [discardpath,noescape,last]
schemas/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =exchange_schemas
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
schemas/DwC/history/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =history
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond #$0 ^(.*)$
22 23
RewriteRule ^.+$ http://rs.tdwg.org/dwc/terms/history/%1 [discardpath,noescape,last]
schemas/DwC/terms/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =terms
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond #$0 ^(.*)$
22 23
RewriteRule ^.+$ http://rs.tdwg.org/dwc/terms/%1 [discardpath,noescape,last]
schemas/DwC/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =DwC
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ terms%1 [discardpath,noescape,last]
schemas/VegCore/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =VegCore
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond #$0 ^(.*)$
22 23
RewriteRule ^.+$ /wiki/VegCore%1 [discardpath,noescape,last,redirect]
web/primary_databases/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =primary_databases
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/aggregators/BIEN2/geoscrub/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =geoscrub
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/geoscrub%1 [discardpath,noescape,last]
web/aggregators/BIEN2/staging/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =staging
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/bien2_staging%1 [discardpath,noescape,last]
web/aggregators/IH/db/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =db
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ /servers/nimoy/bien3_adb/ih%1 [discardpath,noescape,last]
web/people/.htaccess
18 18
RewriteRule ^index$() $1 [discardpath,noescape]
19 19

  
20 20
# dir without trailing / is provided as an absolute filesystem path
21
RewriteCond %{ENV:innermost_dir} =people
21 22
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/servers/vegbiendev/.htaccess
17 17
RewriteRule ^index$() $1 [discardpath,noescape]
18 18

  
19 19
# dir without trailing / is provided as an absolute filesystem path
20
RewriteCond %{ENV:innermost_dir} =vegbiendev
20 21
RewriteCond $0 ^/ [ornext]
21 22
RewriteCond /$0 ^(.*)$
22 23
RewriteRule ^.+$ db%1 [discardpath,noescape,last]

Also available in: Unified diff