summaryrefslogtreecommitdiff
path: root/security/base/files/base.conf
blob: 58792f45d6ad98969f2b756f3075f1ccdc7bf30f (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
# $NetBSD: base.conf,v 1.1.1.1 2006/01/03 21:09:44 adrianp Exp $
#
# BASE configuration file fragment for Apache

<IfModule mod_alias.c>
    Alias /base/ "@BASE_DIR@/"
</IfModule>

<Directory "@BASE_DIR@">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

#
# For security, dont serve pages from certain directories
#

<Directory "@BASE_DIR@/scripts">
    Order deny,allow
    Deny from all
</Directory>

<Directory "@BASE_DIR@/sql">
    Order deny,allow
    Deny from all
</Directory>