]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-httpd.conf
- note for ipv4 only
[packages/apache1.git] / apache1-httpd.conf
CommitLineData
c6d435c1
ER
1### $Id$
2###
3### Main Configuration Section
c6d435c1
ER
4###
5### This config aims to be clean and readable, you should see
96f590b9 6### /usr/share/doc/apache1-*/apache.conf.dist.gz for comments on the directives.
c6d435c1 7###
0f05f0de
JB
8
9ServerType standalone
c6d435c1 10ServerRoot "/etc/apache"
0f05f0de 11
0f05f0de 12ResourceConfig /dev/null
0a771c6c 13AccessConfig /dev/null
0f05f0de 14
c6d435c1
ER
15LockFile /var/run/apache.lock
16PidFile /var/run/apache.pid
17ScoreBoardFile /var/run/apache.scoreboard
43e5a088 18CoreDumpDirectory /var/run/apache
c7726535 19ErrorLog logs/error_log
c6d435c1 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
29a1027b 36ServerName localhost
0f05f0de 37
c6d435c1
ER
38###
39### IP Address/Port
40###
41#BindAddress *
42Listen 80
0f05f0de 43
8b99b488
ER
44# Listen can take two arguments.
45# (this is an extension for supporting IPv6 addresses)
46#Listen :: 80
47#Listen 0.0.0.0 80
48
c6d435c1
ER
49###
50### Performance settings Section
51###
0f05f0de 52
c6d435c1
ER
53### Timeout
54# The number of seconds before receives and sends time out.
55Timeout 300
0f05f0de 56
c6d435c1
ER
57### KeepAlive
58# Whether or not to allow persistent connections (more than one request per
59# connection). Set to "Off" to deactivate.
60KeepAlive On
0f05f0de 61
c6d435c1
ER
62### MaxKeepAliveRequests
63# The maximum number of requests to allow during a persistent connection.
64# Set to 0 to allow an unlimited amount. We recommend you leave this number
65# high, for maximum performance.
0f05f0de 66
c6d435c1 67MaxKeepAliveRequests 100
0f05f0de 68
c6d435c1
ER
69### KeepAliveTimeout
70# Number of seconds to wait for the next request from the same client on the
71# same connection.
0f05f0de 72
c6d435c1 73KeepAliveTimeout 15
0f05f0de 74
c6d435c1
ER
75# StartServers: number of server processes to start
76# MinSpareServers: minimum number of server processes which are kept spare
77# MaxSpareServers: maximum number of server processes which are kept spare
78# MaxClients: maximum number of server processes allowed to start
79# MaxRequestsPerChild: maximum number of requests a server process serves
80StartServers 5
81MinSpareServers 5
82MaxSpareServers 10
83MaxClients 150
84MaxRequestsPerChild 30
0f05f0de 85
c6d435c1 86# These lines here are for packages which still use apxs to activate module.
0a771c6c 87# LoadModule access_module modules/mod_access.so
c6d435c1 88# AddModule mod_foo.c
c56b6926
ER
89
90# Include other modules and packages config.
91Include conf.d/*.conf
92# Include webapps config
93Include webapps.d/*.conf
94
95# ScriptAlias: This controls which directories contain server scripts.
96<IfModule mod_alias.c>
97 ScriptAlias /cgi-bin/ "/home/services/apache/cgi-bin/"
98
99 <Directory "/home/services/apache/cgi-bin">
100 AllowOverride None
101 Options None
102 Order allow,deny
103 Allow from all
104 </Directory>
105</IfModule>
This page took 0.076294 seconds and 4 git commands to generate.