]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | # DocumentRoot: The directory out of which you will serve your | |
3 | # documents. By default, all requests are taken from this directory, but | |
4 | # symbolic links and aliases may be used to point to other locations. | |
5 | # | |
6 | DocumentRoot "/home/services/httpd/html" | |
7 | ||
8 | # Each directory to which Apache has access can be configured with respect | |
9 | # to which services and features are allowed and/or disabled in that | |
10 | # directory (and its subdirectories). | |
11 | # | |
12 | # First, we configure the "default" to be a very restrictive set of | |
13 | # features. | |
14 | # | |
15 | <Directory /> | |
16 | Options FollowSymLinks | |
17 | AllowOverride None | |
18 | <IfModule mod_authz_host.c> | |
19 | Order deny,allow | |
20 | Deny from all | |
21 | </IfModule> | |
22 | </Directory> | |
23 | ||
24 | # | |
25 | # This should be changed to whatever you set DocumentRoot to. | |
26 | # | |
27 | <Directory "/home/services/httpd/html"> | |
28 | # | |
29 | # Possible values for the Options directive are "None", "All", | |
30 | # or any combination of: | |
31 | # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews | |
32 | # | |
33 | # Note that "MultiViews" must be named *explicitly* --- "Options All" | |
34 | # doesn't give it to you. | |
35 | # | |
36 | # The Options directive is both complicated and important. Please see | |
37 | # http://httpd.apache.org/docs/2.2/mod/core.html#options | |
38 | # for more information. | |
39 | # | |
40 | Options Indexes FollowSymLinks | |
41 | ||
42 | # | |
43 | # AllowOverride controls what directives may be placed in .htaccess files. | |
44 | # It can be "All", "None", or any combination of the keywords: | |
45 | # Options FileInfo AuthConfig Limit | |
46 | # | |
47 | AllowOverride None | |
48 | ||
49 | # | |
50 | # Controls who can get stuff from this server. | |
51 | # | |
52 | <IfModule mod_authz_host.c> | |
53 | Order allow,deny | |
54 | Allow from all | |
55 | </IfModule> | |
56 | ||
57 | </Directory> |