From 7a22457d5010edeb0a8b07e24aa05ecceb31d8df Mon Sep 17 00:00:00 2001 From: adrianp Date: Sat, 3 May 2008 10:46:28 +0000 Subject: [PATCH] Add a note about allowing access to the scripts directory --- databases/phpmyadmin/MESSAGE | 7 ++++++- databases/phpmyadmin/files/phpmyadmin.conf | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/databases/phpmyadmin/MESSAGE b/databases/phpmyadmin/MESSAGE index 61446e34d9e0..1e5a1d001b47 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 b4a628e5f989..b70072095c75 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 + # # 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. +# Order deny,allow Deny from all