Project

General

Profile

1 11184 aaronmk
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3 13778 aaronmk
RewriteBase /people/Brad_Boyle/provenance/
4 11184 aaronmk
5 13778 aaronmk
SetEnvIf Request_URI ^ innermost_dir=provenance
6 11184 aaronmk
7
# dir without trailing / is provided as an absolute filesystem path
8 13767 aaronmk
RewriteRule ^ - [env=dest:BIEN\ database\ entities\ related\ to\ data\ provenance\ and\ ownership.docx]
9 13778 aaronmk
RewriteCond %{ENV:innermost_dir} =provenance
10 11184 aaronmk
RewriteCond $0 ^/ [ornext]
11
RewriteCond #$0 ^(.*)$
12 13767 aaronmk
RewriteRule ^.+$ ../%{ENV:dest}%1 [discardpath,last,noescape,qsappend,redirect]