summaryrefslogtreecommitdiff
path: root/databases/phpmyadmin5
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2022-06-18 00:29:38 +0000
committerWen Heping <wen@FreeBSD.org>2022-06-18 00:29:38 +0000
commitd5b9c29504435aeb3a806e7305a47565e3c2545b (patch)
tree01d54717308ab6f5cc6a2e08e1746249d4c4701c /databases/phpmyadmin5
parent27fb0fb86b7a734140f94b8427110f02ee1453cb (diff)
Diffstat (limited to 'databases/phpmyadmin5')
-rw-r--r--databases/phpmyadmin5/files/pkg-message.in21
1 files changed, 3 insertions, 18 deletions
diff --git a/databases/phpmyadmin5/files/pkg-message.in b/databases/phpmyadmin5/files/pkg-message.in
index c59745d76ae7..8737150b6c95 100644
--- a/databases/phpmyadmin5/files/pkg-message.in
+++ b/databases/phpmyadmin5/files/pkg-message.in
@@ -10,30 +10,15 @@ 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%%/"
- Alias /phpmyadmin/ "%%WWWDIR%%/"
-
- <Directory "%%WWWDIR%%/">
- Options none
- AllowOverride Limit
-
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1 .example.com
- </Directory>
-
-For Apache version 2.4.x or above:
-
- Alias /phpmyadmin/ "%%WWWDIR%%/"
-
- <Directory "%%WWWDIR%%/">
+<Directory "%%WWWDIR%%/">
Options None
AllowOverride Limit
Require local
Require host .example.com
- </Directory>
+</Directory>
SECURITY NOTE: phpMyAdmin is an administrative tool that has had several
remote vulnerabilities discovered in the past, some allowing remote