Project

General

Profile

« Previous | Next » 

Revision 13766

web/people/Brad_Boyle/*/.htaccess: use relative paths to new symlinks to avoid hardcoding paths

View differences:

trunk/web/people/Brad_Boyle/attribution/.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /people/Brad_Boyle/attribution/
3 4

  
4 5
SetEnvIf Request_URI ^ innermost_dir=attribution
5 6

  
......
7 8
RewriteCond %{ENV:innermost_dir} =attribution
8 9
RewriteCond $0 ^/ [ornext]
9 10
RewriteCond #$0 ^(.*)$
10
RewriteRule ^.+$ /exchange_schemas/VegBIEN/planning/attribution/BIEN\%203\%20data\%20use\%20and\%20attribution.docx%1 [discardpath,last,noescape,qsappend,redirect]
11
RewriteRule ^.+$ ../BIEN\%203\%20data\%20use\%20and\%20attribution.docx%1 [discardpath,last,noescape,qsappend,redirect]
trunk/web/people/Brad_Boyle/data_provenance/.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /people/Brad_Boyle/data_provenance/
3 4

  
4 5
SetEnvIf Request_URI ^ innermost_dir=data_provenance
5 6

  
......
7 8
RewriteCond %{ENV:innermost_dir} =data_provenance
8 9
RewriteCond $0 ^/ [ornext]
9 10
RewriteCond #$0 ^(.*)$
10
RewriteRule ^.+$ /exchange_schemas/VegCore/Brad_Boyle/BIEN\%20database\%20entities\%20related\%20to\%20data\%20provenance\%20and\%20ownership.docx%1 [discardpath,last,noescape,qsappend,redirect]
11
RewriteRule ^.+$ ../BIEN\%20database\%20entities\%20related\%20to\%20data\%20provenance\%20and\%20ownership.docx%1 [discardpath,last,noescape,qsappend,redirect]

Also available in: Unified diff