Annotation of pkgsrc/databases/phpmyadmin/files/phpmyadmin.conf, revision 1.5

1.5     ! tm          1: # $NetBSD: phpmyadmin.conf,v 1.4 2016/08/23 15:53:14 taca Exp $
1.1       tron        2: #
                      3: # phpmyadmin configuration file fragment for Apache
                      4: 
                      5: <IfModule mod_alias.c>
                      6:     Alias /phpmyadmin/ "@PMDIR@/"
                      7: </IfModule>
                      8: 
                      9: <Directory "@PMDIR@">
                     10:     Options Indexes
                     11:     AllowOverride None
1.4       taca       12: <IfModule !mod_authz_core.c>
1.1       tron       13:     Order allow,deny
                     14:     Allow from all
1.4       taca       15: </IfModule>
                     16: <IfModule mod_authz_core.c>
                     17:     Require all granted
                     18: </IfModule>
1.1       tron       19: </Directory>
1.3       adrianp    20: 
1.2       adrianp    21: #
1.5     ! tm         22: # For security, don't serve pages from the phpmyadmin setup directories.
1.2       adrianp    23: #
1.3       adrianp    24: # NOTE: If you are setting up phpmyadmin for the first time you will need
                     25: # to comment this block out the first time you access your phpmyadmin
                     26: # installation.
                     27: #
1.5     ! tm         28: <Directory "@PMDIR@/setup">
1.4       taca       29: <IfModule !mod_authz_core.c>
1.2       adrianp    30:     Order deny,allow
                     31:     Deny from all
1.4       taca       32: </IfModule>
                     33: <IfModule mod_authz_core.c>
                     34:     Require all denied
                     35: </IfModule>
1.2       adrianp    36: </Directory>

CVSweb <webmaster@jp.NetBSD.org>