/[apache]/trunk/dist/2.2/conf/httpd.conf
Gentoo

Contents of /trunk/dist/2.2/conf/httpd.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 165 - (show annotations) (download)
Wed Jul 11 15:53:30 2007 UTC (7 years ago) by hollow
File MIME type: text/plain
File size: 5275 byte(s)
bug #178966
1 # This is a modification of the default Apache 2.2 configuration file
2 # for Gentoo Linux.
3 #
4 # Support:
5 # http://www.gentoo.org/main/en/lists.xml [mailing lists]
6 # http://forums.gentoo.org/ [web forums]
7 # irc://irc.freenode.net#gentoo-apache [irc chat]
8 #
9 # Bug Reports:
10 # http://bugs.gentoo.org [gentoo related bugs]
11 # http://httpd.apache.org/bug_report.html [apache httpd related bugs]
12 #
13 #
14 # This is the main Apache HTTP server configuration file. It contains the
15 # configuration directives that give the server its instructions.
16 # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
17 # In particular, see
18 # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
19 # for a discussion of each configuration directive.
20 #
21 # Do NOT simply read the instructions in here without understanding
22 # what they do. They're here only as hints or reminders. If you are unsure
23 # consult the online docs. You have been warned.
24 #
25 # Configuration and logfile names: If the filenames you specify for many
26 # of the server's control files begin with "/" (or "drive:/" for Win32), the
27 # server will use that explicit path. If the filenames do *not* begin
28 # with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo.log"
29 # with ServerRoot set to "/usr" will be interpreted by the
30 # server as "/usr/var/log/apache2/foo.log".
31
32 # ServerRoot: The top of the directory tree under which the server's
33 # configuration, error, and log files are kept.
34 #
35 # Do not add a slash at the end of the directory path. If you point
36 # ServerRoot at a non-local disk, be sure to point the LockFile directive
37 # at a local disk. If you wish to share the same ServerRoot for multiple
38 # httpd daemons, you will need to change at least LockFile and PidFile.
39 ServerRoot "/usr/lib/apache2"
40
41 # Dynamic Shared Object (DSO) Support
42 #
43 # To be able to use the functionality of a module which was built as a DSO you
44 # have to place corresponding `LoadModule' lines at this location so the
45 # directives contained in it are actually available _before_ they are used.
46 # Statically compiled modules (those listed by `httpd -l') do not need
47 # to be loaded here.
48 #
49 # Example:
50 # LoadModule foo_module modules/mod_foo.so
51 #
52 # GENTOO: Automaticly defined based on apache2-builtin-mods at compile time
53 #
54 # The following modules are considered as the default configuration.
55 # If you wish to diasble one of them, you may have to alter other
56 # configuration directives.
57 #
58 # Change these at your own risk!
59 %%LOAD_MODULE%%
60
61 # If you wish httpd to run as a different user or group, you must run
62 # httpd as root initially and it will switch.
63 #
64 # User/Group: The name (or #number) of the user/group to run httpd as.
65 # It is usually good practice to create a dedicated user and group for
66 # running httpd, as with most system services.
67 User apache
68 Group apache
69
70 # 'Main' server configuration
71 #
72 # The directives in this section set up the values used by the 'main'
73 # server, which responds to any requests that aren't handled by a
74 # <VirtualHost> definition. These values also provide defaults for
75 # any <VirtualHost> containers you may define later in the file.
76 #
77 # All of these directives may appear inside <VirtualHost> containers,
78 # in which case these default settings will be overridden for the
79 # virtual host being defined.
80
81 # Each directory to which Apache has access can be configured with respect
82 # to which services and features are allowed and/or disabled in that
83 # directory (and its subdirectories).
84 #
85 # First, we configure the "default" to be a very restrictive set of
86 # features.
87 <Directory />
88 Options FollowSymLinks
89 AllowOverride None
90 Order deny,allow
91 Deny from all
92 </Directory>
93
94 # Note that from this point forward you must specifically allow
95 # particular features to be enabled - so if something's not working as
96 # you might expect, make sure that you have specifically enabled it
97 # below.
98
99 # DirectoryIndex: sets the file that Apache will serve if a directory
100 # is requested.
101 #
102 # The index.html.var file (a type-map) is used to deliver content-
103 # negotiated documents. The MultiViews Options can be used for the
104 # same purpose, but it is much slower.
105 <IfModule dir_module>
106 DirectoryIndex index.html index.html.var
107 </IfModule>
108
109 # The following lines prevent .htaccess and .htpasswd files from being
110 # viewed by Web clients.
111 <FilesMatch "^\.ht">
112 Order allow,deny
113 Deny from all
114 </FilesMatch>
115
116 Include /etc/apache2/vhosts.d/default_vhost.include
117
118 # Supplemental configuration
119 #
120 # The configuration files in the /etc/apache2/modules.d/ directory can be
121 # turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
122 # or to modify the default configuration of the server.
123
124 # To know which flag to add to APACHE2_OPTS, look at the first line of the
125 # the file, which will usually be an <IfDefine OPTION> where OPTIONS is the
126 # flag to use.
127 Include /etc/apache2/modules.d/*.conf
128
129 # Virtual-host support
130 #
131 # Gentoo has made using virtual-hosts easy. In the vhosts.d we include
132 # a default vhost (enabled by adding -D DEFAULT_VHOST to
133 # APACHE2_OPTS in /etc/conf.d/apache2), and an example virtual host
134 # to use as a template for creating your own virtual host.
135 Include /etc/apache2/vhosts.d/*.conf
136
137 # vim: ts=4 filetype=apache

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20