Project

General

Profile

« Previous | Next » 

Revision 8450

web/**/.htaccess: Use [qsappend] flag with all RewriteRules to ensure that the original query string is never lost

View differences:

.htaccess
5 5

  
6 6
# dir without trailing / is provided as an absolute filesystem path
7 7
RewriteCond %{ENV:innermost_dir} =VegBank
8
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
8
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last,qsappend]
9 9
RewriteCond %{ENV:innermost_dir} =VegBank
10 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,noescape,last]
11
RewriteRule ^([^/]+)(?:/(.*))?$ http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=$1#$2 [discardpath,noescape,last,qsappend]

Also available in: Unified diff