Revision 8445
Added by Aaron Marcuse-Kubitza over 11 years ago
.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] |
Also available in: Unified diff
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.)