summaryrefslogtreecommitdiff
path: root/databases/phpmyadmin
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-05-03 10:46:28 +0000
committeradrianp <adrianp@pkgsrc.org>2008-05-03 10:46:28 +0000
commit7a22457d5010edeb0a8b07e24aa05ecceb31d8df (patch)
tree486c209cc576da7da6abe7a20d59c8468266efb1 /databases/phpmyadmin
parentcebb6d9334d403928b06b48aee8affb7ab834dc0 (diff)
downloadpkgsrc-7a22457d5010edeb0a8b07e24aa05ecceb31d8df.tar.gz
Add a note about allowing access to the scripts directory
Diffstat (limited to 'databases/phpmyadmin')
-rw-r--r--databases/phpmyadmin/MESSAGE7
-rw-r--r--databases/phpmyadmin/files/phpmyadmin.conf7
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