Fix URL rewriting not to match empty parts.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* left.php: preselect db if only one db
|
* left.php: preselect db if only one db
|
||||||
* server_privileges.php:
|
* server_privileges.php:
|
||||||
|
@@ -2834,8 +2834,8 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
|
|||||||
<pre>
|
<pre>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase /path_to_phpMyAdmin
|
RewriteBase /path_to_phpMyAdmin
|
||||||
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)$ index.php?db=$1&table=$2 [R]
|
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?db=$1&table=$2 [R]
|
||||||
RewriteRule ^([a-zA-Z0-9_]*)$ index.php?db=$1 [R]
|
RewriteRule ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<a name="faqconfig"></a><br />
|
<a name="faqconfig"></a><br />
|
||||||
|
Reference in New Issue
Block a user