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:

.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]

Also available in: Unified diff