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=phpMyAdmin
5 5

  
6
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$ http://$1/?db=$2&table=$3&column=$4&target=tbl_structure.php [discardpath,noescape,last,redirect]
7
RewriteRule ^\[(.*)\]/([^/]*)/(.+?)/?$         http://$1/?db=$2&table=$3&target=tbl_structure.php           [discardpath,noescape,last,redirect]
8
RewriteRule ^\[(.*)\]/(.+?)/?$                 http://$1/?db=$2&target=db_structure.php                     [discardpath,noescape,last,redirect]
9
RewriteRule ^\[(.*)\]/?$                       http://$1/?target=server_databases.php                       [discardpath,noescape,last,redirect]
6
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$ http://$1/?db=$2&table=$3&column=$4&target=tbl_structure.php [discardpath,noescape,last,redirect,qsappend]
7
RewriteRule ^\[(.*)\]/([^/]*)/(.+?)/?$         http://$1/?db=$2&table=$3&target=tbl_structure.php           [discardpath,noescape,last,redirect,qsappend]
8
RewriteRule ^\[(.*)\]/(.+?)/?$                 http://$1/?db=$2&target=db_structure.php                     [discardpath,noescape,last,redirect,qsappend]
9
RewriteRule ^\[(.*)\]/?$                       http://$1/?target=server_databases.php                       [discardpath,noescape,last,redirect,qsappend]

Also available in: Unified diff