]> git.pld-linux.org Git - packages/apache.git/blame_incremental - apache-httpd.conf
- C: logrotate < 3.7.4 due to archiv -> archive transition
[packages/apache.git] / apache-httpd.conf
... / ...
CommitLineData
1# $Id$
2#
3# This is the main Apache HTTP server configuration file.
4# It contains the configuration directives that give the server its instructions.
5#
6# This config aims to be clean and readable.
7# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
8# In particular, see
9# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
10# for a discussion of each configuration directive.
11
12ServerRoot "/etc/httpd"
13DefaultType text/plain
14
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.
18User http
19Group http
20
21# Listen: Allows you to bind Apache to specific IP addresses and/or
22# ports, instead of the default. See also the <VirtualHost>
23# directive.
24#
25# Change this to Listen on specific IP addresses as shown below to
26# prevent Apache from glomming onto all bound IP addresses.
27#Listen 192.168.1.1:80
28Listen 80
29
30# ServerAdmin: Your address, where problems with the server should be
31# e-mailed. This address appears on some server-generated pages, such
32# as error documents. e.g. admin@your-domain.com
33#
34ServerAdmin you@example.com
35
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#
40# If your host doesn't have a registered DNS name, enter its IP address here.
41#
42ServerName localhost
43
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.
49ErrorLog logs/error_log
50
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.
54LogLevel warn
55
56Timeout 300
57KeepAlive On
58MaxKeepAliveRequests 100
59KeepAliveTimeout 5
60UseCanonicalName On
61AccessFileName .htaccess
62ServerTokens Full
63ServerSignature On
64HostnameLookups Off
65
66# Include other modules and packages config.
67Include conf.d/*.conf
68
69# Include webapps config
70Include webapps.d/*.conf
71
72<IfModule alias_module>
73 # ScriptAlias: This controls which directories contain server scripts.
74 # ScriptAliases are essentially the same as Aliases, except that
75 # documents in the target directory are treated as applications and
76 # run by the server when requested rather than as documents sent to the
77 # client. The same rules about trailing "/" apply to ScriptAlias
78 # directives as to Alias.
79 #
80 ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
81
82 <Directory "/home/services/httpd/cgi-bin">
83 AllowOverride None
84 Options None
85 <IfModule mod_authz_host.c>
86 Order allow,deny
87 Allow from all
88 </IfModule>
89 </Directory>
90</IfModule>
This page took 0.025067 seconds and 4 git commands to generate.