root/.htaccess @ 9578
1 | 8770 | aaronmk | RewriteEngine on |
---|---|---|---|
2 | RewriteOptions AllowNoSlash InheritBefore |
||
3 | 8771 | aaronmk | RewriteBase /servers/vegbiendev/fs/
|
4 | 8770 | aaronmk | |
5 | SetEnvIf Request_URI ^ innermost_dir=fs |
||
6 | |||
7 | # auto-add trailing / (dir without trailing / is absolute filesystem path)
|
||
8 | RewriteCond %{ENV:innermost_dir} =fs
|
||
9 | RewriteRule ^/ %{REQUEST_URI}/ [discardpath,last,noescape,qsappend,redirect]
|