Revision 13767
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/people/Brad_Boyle/attribution/.htaccess | ||
---|---|---|
5 | 5 |
SetEnvIf Request_URI ^ innermost_dir=attribution |
6 | 6 |
|
7 | 7 |
# dir without trailing / is provided as an absolute filesystem path |
8 |
RewriteRule ^ - [env=dest:BIEN\ 3\ data\ use\ and\ attribution.docx] |
|
8 | 9 |
RewriteCond %{ENV:innermost_dir} =attribution |
9 | 10 |
RewriteCond $0 ^/ [ornext] |
10 | 11 |
RewriteCond #$0 ^(.*)$ |
11 |
RewriteRule ^.+$ ../BIEN\%203\%20data\%20use\%20and\%20attribution.docx%1 [discardpath,last,noescape,qsappend,redirect] |
|
12 |
RewriteRule ^.+$ ../%{ENV:dest}%1 [discardpath,last,noescape,qsappend,redirect] |
trunk/web/people/Brad_Boyle/data_provenance/.htaccess | ||
---|---|---|
5 | 5 |
SetEnvIf Request_URI ^ innermost_dir=data_provenance |
6 | 6 |
|
7 | 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] |
|
8 | 9 |
RewriteCond %{ENV:innermost_dir} =data_provenance |
9 | 10 |
RewriteCond $0 ^/ [ornext] |
10 | 11 |
RewriteCond #$0 ^(.*)$ |
11 |
RewriteRule ^.+$ ../BIEN\%20database\%20entities\%20related\%20to\%20data\%20provenance\%20and\%20ownership.docx%1 [discardpath,last,noescape,qsappend,redirect] |
|
12 |
RewriteRule ^.+$ ../%{ENV:dest}%1 [discardpath,last,noescape,qsappend,redirect] |
Also available in: Unified diff
web/people/Brad_Boyle/*/.htaccess: set the destination filename using RewriteRule env, to allow escaping " " with "\ " instead of the difficult-to-read "\%20"