Project

General

Profile

1 8433 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8433 aaronmk
RewriteBase /fs/
4
5 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=fs
6
7 8433 aaronmk
# dir without trailing / is provided as an absolute filesystem path
8 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =fs
9 8450 aaronmk
RewriteRule ^/() $1 [discardpath,noescape,last,redirect,qsappend]