]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-common.conf
- rel 4
[packages/apache1.git] / apache1-common.conf
CommitLineData
c6d435c1
ER
1# $Id$
2
3# Each directory to which Apache has access, can be configured with respect
4# to which services and features are allowed and/or disabled in that
501c45af 5# directory (and its subdirectories).
c6d435c1 6
501c45af
ER
7# First, we configure the "default" to be a very restrictive set of
8# permissions.
c6d435c1
ER
9<Directory />
10 Options FollowSymLinks
11 AllowOverride None
12
d1a7f21b
ER
13 <IfModule mod_access.c>
14 Order deny,allow
15 Deny from all
16 </IfModule>
c6d435c1
ER
17</Directory>
18
d1a7f21b 19# These should be changed to whatever You set DocumentRoot to.
c6d435c1 20DocumentRoot "/home/services/apache/html"
c6d435c1
ER
21<Directory "/home/services/apache/html">
22 Options Indexes FollowSymLinks MultiViews
23 AllowOverride None
d1a7f21b
ER
24 <IfModule mod_access.c>
25 Order allow,deny
26 Allow from all
27 </IfModule>
c6d435c1
ER
28</Directory>
29
d1a7f21b
ER
30<IfModule mod_access.c>
31 <Files ~ "^\.ht">
32 Order allow,deny
33 Deny from all
34 Satisfy All
35 </Files>
36</IfModule>
c6d435c1
ER
37
38# vim: filetype=apache ts=4 sw=4 et
This page took 0.146681 seconds and 4 git commands to generate.