]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-common.conf
- conditionals for module directives
[packages/apache1.git] / apache1-common.conf
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
5 # directory (and its subdirectories). 
6
7 # First, we configure the "default" to be a very restrictive set of 
8 # permissions.  
9 <Directory />
10     Options FollowSymLinks
11     AllowOverride None
12
13     <IfModule mod_access.c>
14         Order deny,allow
15         Deny from all
16     </IfModule>
17 </Directory>
18
19 # These should be changed to whatever You set DocumentRoot to.
20 DocumentRoot "/home/services/apache/html"
21 <Directory "/home/services/apache/html">
22         Options Indexes FollowSymLinks MultiViews
23         AllowOverride None
24     <IfModule mod_access.c>
25         Order allow,deny
26         Allow from all
27     </IfModule>
28 </Directory>
29
30 <IfModule mod_access.c>
31     <Files ~ "^\.ht">
32         Order allow,deny
33         Deny from all
34         Satisfy All
35     </Files>
36 </IfModule>
37
38 # vim: filetype=apache ts=4 sw=4 et
This page took 0.030104 seconds and 4 git commands to generate.