]> git.pld-linux.org Git - packages/apache.git/blame_incremental - apache-common.conf
- up to 2.4.4; fixes CVE-2012-3499, CVE-2012-4558
[packages/apache.git] / apache-common.conf
... / ...
CommitLineData
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#
6DocumentRoot "/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 Require all denied
20 </IfModule>
21</Directory>
22
23#
24# This should be changed to whatever you set DocumentRoot to.
25#
26<Directory "/home/services/httpd/html">
27 #
28 # Possible values for the Options directive are "None", "All",
29 # or any combination of:
30 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
31 #
32 # Note that "MultiViews" must be named *explicitly* --- "Options All"
33 # doesn't give it to you.
34 #
35 # The Options directive is both complicated and important. Please see
36 # http://httpd.apache.org/docs/2.2/mod/core.html#options
37 # for more information.
38 #
39 Options Indexes FollowSymLinks
40
41 #
42 # AllowOverride controls what directives may be placed in .htaccess files.
43 # It can be "All", "None", or any combination of the keywords:
44 # Options FileInfo AuthConfig Limit
45 #
46 AllowOverride None
47
48 #
49 # Controls who can get stuff from this server.
50 #
51 <IfModule mod_authz_host.c>
52 Require all granted
53 </IfModule>
54
55</Directory>
This page took 0.031222 seconds and 4 git commands to generate.