Fix URL rewriting not to match empty parts.

This commit is contained in:
Michal Čihař
2005-10-13 14:14:59 +00:00
parent efa10c4bb8
commit a736fdd365
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-10-13 Michal Čihař <michal@cihar.com>
* Documentation.html: Fix URL rewriting not to match empty parts.
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* left.php: preselect db if only one db
* server_privileges.php:

View File

@@ -2834,8 +2834,8 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
<pre>
RewriteEngine On
RewriteBase /path_to_phpMyAdmin
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)$ index.php?db=$1&amp;table=$2 [R]
RewriteRule ^([a-zA-Z0-9_]*)$ index.php?db=$1 [R]
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?db=$1&amp;table=$2 [R]
RewriteRule ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
</pre>
<a name="faqconfig"></a><br />