]>
Commit | Line | Data |
---|---|---|
1fee6743 | 1 | # $Id$ |
9d781f9b | 2 | # |
e157932f ER |
3 | # This is the main Apache HTTP server configuration file. |
4 | # It contains the configuration directives that give the server its instructions. | |
9d781f9b | 5 | # |
e157932f ER |
6 | # This config aims to be clean and readable. |
7 | # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. | |
987d196f | 8 | # In particular, see |
e157932f ER |
9 | # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> |
10 | # for a discussion of each configuration directive. | |
4af76ed4 | 11 | |
60c726e0 | 12 | ServerRoot "/etc/httpd" |
e157932f | 13 | DefaultType text/plain |
4af76ed4 | 14 | |
e157932f ER |
15 | # User/Group: The name (or #number) of the user/group to run httpd as. |
16 | # It is usually good practice to create a dedicated user and group for | |
17 | # running httpd, as with most system services. | |
18 | User http | |
19 | Group http | |
99ce08d7 | 20 | |
9d781f9b | 21 | # Listen: Allows you to bind Apache to specific IP addresses and/or |
e157932f | 22 | # ports, instead of the default. See also the <VirtualHost> |
9d781f9b MM |
23 | # directive. |
24 | # | |
53fc5f22 | 25 | # Change this to Listen on specific IP addresses as shown below to |
e157932f ER |
26 | # prevent Apache from glomming onto all bound IP addresses. |
27 | #Listen 192.168.1.1:80 | |
9d781f9b | 28 | Listen 80 |
4af76ed4 | 29 | |
4af76ed4 | 30 | # ServerAdmin: Your address, where problems with the server should be |
31 | # e-mailed. This address appears on some server-generated pages, such | |
9d781f9b | 32 | # as error documents. e.g. admin@your-domain.com |
4af76ed4 | 33 | # |
e157932f | 34 | ServerAdmin you@example.com |
4af76ed4 | 35 | |
9d781f9b MM |
36 | # ServerName gives the name and port that the server uses to identify itself. |
37 | # This can often be determined automatically, but we recommend you specify | |
38 | # it explicitly to prevent problems during startup. | |
39 | # | |
4af76ed4 | 40 | # If your host doesn't have a registered DNS name, enter its IP address here. |
4af76ed4 | 41 | # |
53fc5f22 | 42 | ServerName localhost |
4af76ed4 | 43 | |
9d781f9b MM |
44 | # ErrorLog: The location of the error log file. |
45 | # If you do not specify an ErrorLog directive within a <VirtualHost> | |
46 | # container, error messages relating to that virtual host will be | |
47 | # logged here. If you *do* define an error logfile for a <VirtualHost> | |
48 | # container, that host's errors will be logged there and not here. | |
e157932f | 49 | ErrorLog logs/error_log |
9d781f9b | 50 | |
9d781f9b MM |
51 | # LogLevel: Control the number of messages logged to the error_log. |
52 | # Possible values include: debug, info, notice, warn, error, crit, | |
53 | # alert, emerg. | |
9d781f9b MM |
54 | LogLevel warn |
55 | ||
50707f42 ER |
56 | Timeout 300 |
57 | KeepAlive On | |
58 | MaxKeepAliveRequests 100 | |
59 | KeepAliveTimeout 5 | |
60 | UseCanonicalName Off | |
61 | AccessFileName .htaccess | |
62 | ServerTokens Full | |
63 | ServerSignature On | |
64 | HostnameLookups Off | |
65 | ||
e157932f | 66 | # Include other modules and packages config. |
53fc5f22 | 67 | Include conf.d/*.conf |
ac2899f4 | 68 | |
e157932f | 69 | # Include webapps config |
ee5a8932 | 70 | Include webapps.d/*.conf |