Project

General

Profile

« Previous | Next » 

Revision 8018

web/main/.phpMyAdmin/.htaccess: Prepend http:// to the dest URL stem, instead of requiring the dest URL to provide the protocol, because the two // are replaced with one / by Apache when mod_rewrite is on, creating an invalid URL

View differences:

.htaccess
1
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/([^/]*)/([^/]*)/(.+)/$ $1/?db=$2\&table=$3\&column=$4\&target=tbl_structure.php
2
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/([^/]*)/(.+)/$         $1/?db=$2\&table=$3\&target=tbl_structure.php
3
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/(.+)/$                 $1/?db=$2\&target=db_structure.php
4
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/$                      $1/?target=server_databases.php
1
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/([^/]*)/([^/]*)/(.+)/$ http://$1/?db=$2\&table=$3\&column=$4\&target=tbl_structure.php
2
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/([^/]*)/(.+)/$         http://$1/?db=$2\&table=$3\&target=tbl_structure.php
3
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/(.+)/$                 http://$1/?db=$2\&target=db_structure.php
4
RedirectMatch ^/\.phpMyAdmin/\[(.*)\]/$                      http://$1/?target=server_databases.php

Also available in: Unified diff