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
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=dd
5 5

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

Also available in: Unified diff