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

Also available in: Unified diff