Add a note about allowing access to the scripts directory

This commit is contained in:
adrianp 2008-05-03 10:46:28 +00:00
parent cebb6d9334
commit 7a22457d50
2 changed files with 12 additions and 2 deletions

View file

@ -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.
===========================================================================

View file

@ -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