Project

General

Profile

1 8048 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8048 aaronmk
4 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=dd
5
6 8450 aaronmk
RewriteRule ^(?!/)(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape,qsappend]
7 8407 aaronmk
# dir without trailing / is provided as an absolute filesystem path
8 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =dd
9 8407 aaronmk
RewriteCond $0 ^/ [ornext]
10
RewriteCond #$0 ^(.*)$
11 8507 aaronmk
RewriteRule ^.+$ http://salvias.net/Documents/salvias_data_dictionary.html%1 [discardpath,last,noescape,qsappend]