Project

General

Profile

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