git: d5b9c2950443 - main - databases/phpmyadmin*: Remove message for apache-2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Jun 2022 01:29:14 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5b9c29504435aeb3a806e7305a47565e3c2545b commit d5b9c29504435aeb3a806e7305a47565e3c2545b Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2022-06-18 00:29:38 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2022-06-18 00:29:38 +0000 databases/phpmyadmin*: Remove message for apache-2.2 Approved by: maintainer(via email) --- databases/phpmyadmin/files/pkg-message.in | 21 +++------------------ databases/phpmyadmin5/files/pkg-message.in | 21 +++------------------ 2 files changed, 6 insertions(+), 36 deletions(-) diff --git a/databases/phpmyadmin/files/pkg-message.in b/databases/phpmyadmin/files/pkg-message.in index c59745d76ae7..8737150b6c95 100644 --- a/databases/phpmyadmin/files/pkg-message.in +++ b/databases/phpmyadmin/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 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