]>
Commit | Line | Data |
---|---|---|
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 | 9 | <Directory /> |
0a771c6c ER |
10 | Options FollowSymLinks |
11 | AllowOverride None | |
c6d435c1 | 12 | |
0a771c6c 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 | 20 | DocumentRoot "/home/services/apache/html" |
c6d435c1 ER |
21 | <Directory "/home/services/apache/html"> |
22 | Options Indexes FollowSymLinks MultiViews | |
23 | AllowOverride None | |
0a771c6c ER |
24 | <IfModule mod_access.c> |
25 | Order allow,deny | |
26 | Allow from all | |
27 | </IfModule> | |
c6d435c1 ER |
28 | </Directory> |
29 | ||
d1a7f21b | 30 | <IfModule mod_access.c> |
0a771c6c ER |
31 | <Files ~ "^\.ht"> |
32 | Order allow,deny | |
33 | Deny from all | |
34 | Satisfy All | |
35 | </Files> | |
d1a7f21b | 36 | </IfModule> |