diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-05-03 10:46:28 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-05-03 10:46:28 +0000 |
commit | 7a22457d5010edeb0a8b07e24aa05ecceb31d8df (patch) | |
tree | 486c209cc576da7da6abe7a20d59c8468266efb1 | |
parent | cebb6d9334d403928b06b48aee8affb7ab834dc0 (diff) | |
download | pkgsrc-7a22457d5010edeb0a8b07e24aa05ecceb31d8df.tar.gz |
Add a note about allowing access to the scripts directory
-rw-r--r-- | databases/phpmyadmin/MESSAGE | 7 | ||||
-rw-r--r-- | databases/phpmyadmin/files/phpmyadmin.conf | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/phpmyadmin/MESSAGE b/databases/phpmyadmin/MESSAGE index 61446e34d9e..1e5a1d001b4 100644 --- a/databases/phpmyadmin/MESSAGE +++ b/databases/phpmyadmin/MESSAGE @@ -1,5 +1,5 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.10 2007/11/27 15:20:47 tron Exp $ +$NetBSD: MESSAGE,v 1.11 2008/05/03 10:46:28 adrianp Exp $ Do *not* edit "${CONF_INC_PHP}" to customize this package because it is a link which will removed during upgrades. @@ -17,4 +17,9 @@ to make phpMyAdmin accessible through: If you use "cookie" authentication method, installing security/php-mcrypt package is recommended to accelerate phpMyAdmin operation. + +If you are setting up phpmyadmin for the first time you will need to +comment out the configuration block in your apache.conf which denies +access to the scripts directory. This only need to be done the first +time you access your phpmyadmin installation. =========================================================================== diff --git a/databases/phpmyadmin/files/phpmyadmin.conf b/databases/phpmyadmin/files/phpmyadmin.conf index b4a628e5f98..b70072095c7 100644 --- a/databases/phpmyadmin/files/phpmyadmin.conf +++ b/databases/phpmyadmin/files/phpmyadmin.conf @@ -1,4 +1,4 @@ -# $NetBSD: phpmyadmin.conf,v 1.2 2004/08/07 11:31:15 adrianp Exp $ +# $NetBSD: phpmyadmin.conf,v 1.3 2008/05/03 10:46:28 adrianp Exp $ # # phpmyadmin configuration file fragment for Apache @@ -12,9 +12,14 @@ Order allow,deny Allow from all </Directory> + # # For security, don't serve pages from the phpmyadmin scripts directories. # +# NOTE: If you are setting up phpmyadmin for the first time you will need +# to comment this block out the first time you access your phpmyadmin +# installation. +# <Directory "@PMDIR@/scripts"> Order deny,allow Deny from all |