Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /fs/
4

    
5
SetEnvIf Request_URI ^ innermost_dir=fs
6

    
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =fs
9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect,qsappend]
(1-1/7)