]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-httpd.conf
- set ServerName, otherwise apache refuses to restart inside vserver
[packages/apache1.git] / apache1-httpd.conf
1 ### $Id$
2 ###
3 ### Main Configuration Section
4 ### You really shouldn't change these settings unless you're a guru
5 ###
6 ### This config aims to be clean and readable, you should see
7 ### /usr/share/doc/apache1-*/apache.conf.dist.gz for comments on the directives.
8 ###
9
10 ServerType standalone
11 ServerRoot "/etc/apache"
12
13 ResourceConfig  /dev/null
14 AccessConfig    /dev/null
15
16 LockFile /var/run/apache.lock
17 PidFile /var/run/apache.pid
18 ScoreBoardFile /var/run/apache.scoreboard
19 ErrorLog logs/error_log
20 LogLevel warn
21
22 AccessFileName .htaccess
23 UseCanonicalName On
24 DefaultType text/plain
25
26 HostnameLookups Off
27 ServerSignature Email
28
29 User  http
30 Group http
31
32 # ServerAdmin: Your address, where problems with the server should be
33 # e-mailed.  This address appears on some server-generated pages, such
34 # as error documents.
35 ServerAdmin root@localhost
36 ServerName localhost
37
38 # Include other modules and packages config.
39 Include conf.d/*.conf
40
41
42 ###
43 ### IP Address/Port
44 ###
45 #BindAddress *
46 Listen 80
47
48 # Listen can take two arguments.
49 # (this is an extension for supporting IPv6 addresses)
50 #Listen :: 80
51 #Listen 0.0.0.0 80
52
53 ###
54 ### Performance settings Section
55 ###
56
57 ### Timeout
58 # The number of seconds before receives and sends time out.
59 Timeout                 300
60
61 ### KeepAlive
62 # Whether or not to allow persistent connections (more than one request per
63 # connection). Set to "Off" to deactivate.
64 KeepAlive               On
65
66 ### MaxKeepAliveRequests
67 # The maximum number of requests to allow during a persistent connection.
68 # Set to 0 to allow an unlimited amount. We recommend you leave this number
69 # high, for maximum performance.
70
71 MaxKeepAliveRequests    100
72
73 ### KeepAliveTimeout
74 # Number of seconds to wait for the next request from the same client on the
75 # same connection.
76
77 KeepAliveTimeout        15
78
79 # StartServers: number of server processes to start
80 # MinSpareServers: minimum number of server processes which are kept spare
81 # MaxSpareServers: maximum number of server processes which are kept spare
82 # MaxClients: maximum number of server processes allowed to start
83 # MaxRequestsPerChild: maximum number of requests a server process serves
84 StartServers 5
85 MinSpareServers 5
86 MaxSpareServers 10
87 MaxClients 150
88 MaxRequestsPerChild 30
89
90 # These lines here are for packages which still use apxs to activate module.
91 # LoadModule access_module      modules/mod_access.so
92 # AddModule mod_foo.c
93
94 # vim: filetype=apache ts=4 sw=4 et
This page took 0.048496 seconds and 4 git commands to generate.