path: root/databases/phpmyadmin/files/pkg-message.in
diff options
authorMatthew Seaman <matthew@FreeBSD.org>2013-12-23 22:58:24 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2013-12-23 22:58:24 +0000
commit330a78b248fe9ac79c222170bf60f46ee12ca563 (patch)
tree2ae425e293d40b12d35b2c09ddaf90a7d0e73ec7 /databases/phpmyadmin/files/pkg-message.in
parent634946a66f5ec0da71e9e3b31719163a240212a5 (diff)
Update to 4.1.2
- Add instructions for more recent verions of Apache to pkg-message (1) Release Notes: http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/4.1.2/phpMyAdmin-4.1.2-notes.html/view Submitted by: poinsot.julien@gmail.com (1)
Notes: svn path=/head/; revision=337306
Diffstat (limited to 'databases/phpmyadmin/files/pkg-message.in')
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/phpmyadmin/files/pkg-message.in b/databases/phpmyadmin/files/pkg-message.in
index 746af63a5999..964a4bfb720b 100644
--- a/databases/phpmyadmin/files/pkg-message.in
+++ b/databases/phpmyadmin/files/pkg-message.in
@@ -8,6 +8,8 @@ Please edit config.inc.php to suit your needs.
To make phpMyAdmin available through your web site, I suggest
that you add something like the following to httpd.conf:
+For Apache versions earlier than 2.4:
Alias /phpmyadmin/ "%%WWWDIR%%/"
<Directory "%%WWWDIR%%/">
@@ -19,6 +21,18 @@ that you add something like the following to httpd.conf:
Allow from .example.com
+For Apache version 2.4.x or above:
+ Alias /phpmyadmin/ "%%WWWDIR%%/"
+ <Directory "%%WWWDIR%%/">
+ Options -All
+ AllowOverride Limit
+ Require local
+ Require host .example.com
+ </Directory>
SECURITY NOTE: phpMyAdmin is an administrative tool that has had several
remote vulnerabilities discovered in the past, some allowing remote
attackers to execute arbitrary code with the web server's user credential.