From 4569f51713231f990f65e3ed36a3b91329b58850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?=
Date: Sat, 8 Oct 2005 13:08:29 +0000
Subject: [PATCH] Add example for redirects like /phpMyAdmin/database/table
(RFE #1278312).
---
ChangeLog | 2 ++
Documentation.html | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 5914bf159..06e5f72db 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,8 @@ $Source$
* import.php: Do not show query in different charset (bug #1028634).
* libraries/auth/cookie.auth.lib.php: Keep database and table selection
over login, needed for RFE #1278312.
+ * Documentation.html: Add example for redirects like
+ /phpMyAdmin/database/table (RFE #1278312).
2005-10-07 Marc Delisle
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a
diff --git a/Documentation.html b/Documentation.html
index fed849eb5..2232e24f3 100755
--- a/Documentation.html
+++ b/Documentation.html
@@ -2809,6 +2809,31 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
Yes. This problem affects phpMyAdmin ("Call to undefined function pma_reloadnavigation"), so upgrade your PHP to the next version.
+
+
+ [1.34] Can I access directly to database or table pages?
+
+
+ Yes. Out of the box, you can use URLs like
+ http://server/phpMyAdmin/index.php?db=database&table=table. If you
+ want http://server/phpMyAdmin/database/table URLs, you need to do some
+ configuration. Following lines apply only for Apache web server. First make sure,
+ that you have enabled some features within global configuration. You need
+ Options FollowSymLinks
and AllowOverride
+ FileInfo
enabled for directory where phpMyAdmin is installed. Then
+ you just need to create following .htaccess
file in root
+ folder of phpMyAdmin installation (don't forget to change directory name
+ inside of it):
+
+
+
+RewriteEngine On
+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_]*)$ index.php?db=$1 [R]
+
+
[2. Configuration]