Project

General

Profile

« Previous | Next » 

Revision 8037

web/main/.phpMyAdmin/.htaccess: Set [redirect] flag in case the dest server is on the same machine as VegPath itself

View differences:

.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions inherit
3 3

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

Also available in: Unified diff