Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

    
4
SetEnvIf Request_URI ^ innermost_dir=dd
5

    
6
RewriteRule ^(?!/)(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape,qsappend]
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =dd
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond #$0 ^(.*)$
11
RewriteRule ^.+$ http://salvias.net/Documents/salvias_data_dictionary.html%1 [discardpath,last,noescape,qsappend]
    (1-1/1)