1
|
RewriteEngine on
|
2
|
RewriteOptions AllowNoSlash InheritBefore
|
3
|
|
4
|
SetEnvIf Request_URI ^ innermost_dir=VegBank
|
5
|
|
6
|
# dir without trailing / is provided as an absolute filesystem path
|
7
|
RewriteCond %{ENV:innermost_dir} =VegBank
|
8
|
RewriteRule ^/ http://vegbank.org/get/index/dba_tabledescription [discardpath,last,noescape,qsappend]
|
9
|
RewriteCond %{ENV:innermost_dir} =VegBank
|
10
|
RewriteCond %{REQUEST_FILENAME} !-d
|
11
|
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]
|