]> git.ipfire.org Git - ipfire-2.x.git/blob - config/httpd/httpd.conf
Starte SSH-Server beim Boot.
[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
53 # IP addresses / ports to listen on
54 Include /etc/httpd/conf/listen.conf
55
56 # predefined logging formats
57 Include /etc/httpd/conf/mod_log_config.conf
58
59 # global settings
60 Include /etc/httpd/conf/global.conf
61
62 # optional mod_status, mod_info
63 #Include /etc/httpd/conf/mod_status.conf
64 #Include /etc/httpd/conf/mod_info.conf
65
66 # associate MIME types with filename extensions
67 TypesConfig /etc/mime.types
68 DefaultType text/plain
69
70 # global (server-wide) SSL configuration, that is not specific to
71 # any virtual host
72 Include /etc/httpd/conf/ssl-global.conf
73
74 <Directory />
75 Options None
76 AllowOverride None
77 </Directory>
78
79 # use .htaccess files for overriding,
80 AccessFileName .htaccess
81 # and never show them
82 <Files ~ "^\.ht">
83 Order allow,deny
84 Deny from all
85 </Files>
86
87 # List of resources to look for when the client requests a directory
88 DirectoryIndex index.html index.htm index.shtml index.cgi
89
90 ### 'Main' server configuration #############################################
91 #
92 # The directives in this section set up the values used by the 'main'
93 # server, which responds to any requests that aren't handled by a
94 # <VirtualHost> definition. These values also provide defaults for
95 # any <VirtualHost> containers you may define later in the file.
96 #
97 # All of these directives may appear inside <VirtualHost> containers,
98 # in which case these default settings will be overridden for the
99 # virtual host being defined.
100 #
101 Include /etc/httpd/conf/default-server.conf
102
103
104 ### Virtual server configuration ############################################
105 #
106 # VirtualHost: If you want to maintain multiple domains/hostnames on your
107 # machine you can setup VirtualHost containers for them. Most configurations
108 # use only name-based virtual hosts so the server doesn't need to worry about
109 # IP addresses. This is indicated by the asterisks in the directives below.
110 #
111 # Please see the documentation at
112 # <URL:http://httpd.apache.org/docs-2.0/vhosts/>
113 # for further details before you try to setup virtual hosts.
114 #
115 # You may use the command line option '-S' to verify your virtual host
116 # configuration.
117 #
118 Include /etc/httpd/conf/vhosts.d/*.conf
119
120