blob: 0965c94bc203795c2c43d9c12ed7b1af9323e373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: phpmyadmin.conf,v 1.5 2018/12/10 19:27:46 tm Exp $
#
# phpmyadmin configuration file fragment for Apache
<IfModule mod_alias.c>
Alias /phpmyadmin/ "@PMDIR@/"
</IfModule>
<Directory "@PMDIR@">
Options Indexes
AllowOverride None
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
#
# For security, don't serve pages from the phpmyadmin setup 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@/setup">
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Directory>
|