Project

General

Profile

1 14297 aaronmk
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /people/Brad_Boyle/TNRS/
4
5
SetEnvIf Request_URI ^ innermost_dir=TNRS
6
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteRule ^ - [env=dest:Modifications\ to\ procedure\ to\ scrubbing\ names\ using\ TNRS.docx]
9
RewriteCond %{ENV:innermost_dir} =TNRS
10
RewriteCond $0 ^/ [ornext]
11
RewriteCond #$0 ^(.*)$
12
RewriteRule ^.+$ ../%{ENV:dest}%1 [discardpath,last,noescape,qsappend,redirect]