]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/httpd/httpd.conf
Hinzugefuegt:
[people/pmueller/ipfire-2.x.git] / config / httpd / httpd.conf
1 #
2 # /etc/httpd/conf/httpd.conf
3 #
4 # This is the main Apache2 server configuration file for IPFire.
5 # Plese do not change this file!
6
7 # Overview of include files, chronologically:
8 #
9 # httpd.conf
10 # |
11 # |-- uid.conf . . . . . . . . . . . . . . UserID/GroupID to run under
12 # |-- server-tuning.conf . . . . . . . . . sizing of the server (how many processes to start, ...)
13 # |-- loadmodule.conf . . . . . . . . . . . load these modules
14 # |-- listen.conf . . . . . . . . . . . . . IP adresses / ports to listen on
15 # |-- mod_log_config.conf . . . . . . . . . define logging formats
16 # |-- sysconfig.d/global.conf . . . . . . . server-wide general settings
17 # |-- mod_status.conf . . . . . . . . . . . restrict access to mod_status (server monitoring)
18 # |-- mod_info.conf . . . . . . . . . . . . restrict access to mod_info
19 # |-- mod_usertrack.conf . . . . . . . . . defaults for cookie-based user tracking
20 # |-- mod_autoindex-defaults.conf . . . . . defaults for displaying of server-generated directory listings
21 # |-- mod_mime-defaults.conf . . . . . . . defaults for mod_mime configuration
22 # |-- errors.conf . . . . . . . . . . . . . customize error responses
23 # |-- ssl-global.conf . . . . . . . . . . . SSL conf that applies to default server _and all_ virtual hosts
24 # |
25 # |-- default-server.conf . . . . . . . . . set up the default server that replies to non-virtual-host requests
26 # |
27 # `-- vhosts.d/ . . . . . . . . . . . . . . for each virtual host, place one file here
28 # `-- *.conf . . . . . . . . . . . . . (*.conf is automatically included)
29 #
30
31 ### Global Environment ######################################################
32 #
33 # The directives in this section affect the overall operation of Apache,
34 # such as the number of concurrent requests.
35
36 # run under this user/group id
37 Include /etc/httpd/conf/uid.conf
38
39 # - how many server processes to start (server pool regulation)
40 # - usage of KeepAlive
41 Include /etc/httpd/conf/server-tuning.conf
42
43 # ErrorLog: The location of the error log file.
44 # If you do not specify an ErrorLog directive within a <VirtualHost>
45 # container, error messages relating to that virtual host will be
46 # logged here. If you *do* define an error logfile for a <VirtualHost>
47 # container, that host's errors will be logged there and not here.
48 ErrorLog /var/log/httpd/error_log
49
50 # Load Modules here
51 Include /etc/httpd/conf/loadmodule.conf
52 LoadModule php5_module /usr/lib/apache/libphp5.so
53 # This is only a fake for compiling php - libphp5.so
54
55 # IP addresses / ports to listen on
56 Include /etc/httpd/conf/listen.conf
57
58 # predefined logging formats
59 Include /etc/httpd/conf/mod_log_config.conf
60
61 # global settings
62 Include /etc/httpd/conf/global.conf
63
64 # optional mod_status, mod_info
65 #Include /etc/httpd/conf/mod_status.conf
66 #Include /etc/httpd/conf/mod_info.conf
67
68 # associate MIME types with filename extensions
69 TypesConfig /etc/mime.types
70 DefaultType text/plain
71
72 # global (server-wide) SSL configuration, that is not specific to
73 # any virtual host
74 Include /etc/httpd/conf/ssl-global.conf
75
76 <Directory />
77 Options None
78 AllowOverride None
79 </Directory>
80
81 # use .htaccess files for overriding,
82 AccessFileName .htaccess
83 # and never show them
84 <Files ~ "^\.ht">
85 Order allow,deny
86 Deny from all
87 </Files>
88
89 # List of resources to look for when the client requests a directory
90 DirectoryIndex index.html index.htm index.shtml index.cgi
91
92 ### 'Main' server configuration #############################################
93 #
94 # The directives in this section set up the values used by the 'main'
95 # server, which responds to any requests that aren't handled by a
96 # <VirtualHost> definition. These values also provide defaults for
97 # any <VirtualHost> containers you may define later in the file.
98 #
99 # All of these directives may appear inside <VirtualHost> containers,
100 # in which case these default settings will be overridden for the
101 # virtual host being defined.
102 #
103 Include /etc/httpd/conf/default-server.conf
104
105
106 ### Virtual server configuration ############################################
107 #
108 # VirtualHost: If you want to maintain multiple domains/hostnames on your
109 # machine you can setup VirtualHost containers for them. Most configurations
110 # use only name-based virtual hosts so the server doesn't need to worry about
111 # IP addresses. This is indicated by the asterisks in the directives below.
112 #
113 # Please see the documentation at
114 # <URL:http://httpd.apache.org/docs-2.0/vhosts/>
115 # for further details before you try to setup virtual hosts.
116 #
117 # You may use the command line option '-S' to verify your virtual host
118 # configuration.
119 #
120 Include /etc/httpd/conf/vhosts.d/*.conf
121
122