Project

General

Profile

1 8052 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8052 aaronmk
4 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=VegBank
5
6 8407 aaronmk
# dir without trailing / is provided as an absolute filesystem path
7 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =VegBank
8 8507 aaronmk
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,last,noescape,qsappend]
9 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =VegBank
10 8449 aaronmk
RewriteCond %{REQUEST_FILENAME} !-d
11 8507 aaronmk
RewriteRule ^([^/]+)(?:/(.*))?$ http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=$1#$2 [discardpath,last,noescape,qsappend]