ports/databases/phpmyadmin5/files/pkg-message.in
Wen Heping d5b9c29504 databases/phpmyadmin*: Remove message for apache-2.2
Approved by:	maintainer(via email)
2022-06-18 08:29:38 +08:00

33 lines
942 B
Text

[
{ type: install
message: <<EOM
%%PKGNAME%% has been installed into:
%%WWWDIR%%
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:
Alias /phpmyadmin/ "%%WWWDIR%%/"
<Directory "%%WWWDIR%%/">
Options None
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.
All known problems have been fixed, but the FreeBSD Security Team strongly
advises that any instance be protected with an additional protection layer,
e.g. a different access control mechanism implemented by the web server
as shown in the example. Do consider enabling phpMyAdmin only when it
is in use.
EOM
}
]