Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /people/Brad_Boyle/provenance/
4

    
5
SetEnvIf Request_URI ^ innermost_dir=provenance
6

    
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteRule ^ - [env=dest:BIEN\ database\ entities\ related\ to\ data\ provenance\ and\ ownership.docx]
9
RewriteCond %{ENV:innermost_dir} =provenance
10
RewriteCond $0 ^/ [ornext]
11
RewriteCond #$0 ^(.*)$
12
RewriteRule ^.+$ ../%{ENV:dest}%1 [discardpath,last,noescape,qsappend,redirect]
    (1-1/1)