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