]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-httpd.conf
- use writable for webserver CoreDumpDirectory
[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 CoreDumpDirectory /var/run/apache
20 ErrorLog logs/error_log
21 LogLevel warn
22
23 AccessFileName .htaccess
24 UseCanonicalName On
25 DefaultType text/plain
26
27 HostnameLookups Off
28 ServerSignature Email
29
30 User  http
31 Group http
32
33 # ServerAdmin: Your address, where problems with the server should be
34 # e-mailed.  This address appears on some server-generated pages, such
35 # as error documents.
36 ServerAdmin root@localhost
37 ServerName localhost
38
39 ###
40 ### IP Address/Port
41 ###
42 #BindAddress *
43 Listen 80
44
45 # Listen can take two arguments.
46 # (this is an extension for supporting IPv6 addresses)
47 #Listen :: 80
48 #Listen 0.0.0.0 80
49
50 ###
51 ### Performance settings Section
52 ###
53
54 ### Timeout
55 # The number of seconds before receives and sends time out.
56 Timeout                 300
57
58 ### KeepAlive
59 # Whether or not to allow persistent connections (more than one request per
60 # connection). Set to "Off" to deactivate.
61 KeepAlive               On
62
63 ### MaxKeepAliveRequests
64 # The maximum number of requests to allow during a persistent connection.
65 # Set to 0 to allow an unlimited amount. We recommend you leave this number
66 # high, for maximum performance.
67
68 MaxKeepAliveRequests    100
69
70 ### KeepAliveTimeout
71 # Number of seconds to wait for the next request from the same client on the
72 # same connection.
73
74 KeepAliveTimeout        15
75
76 # StartServers: number of server processes to start
77 # MinSpareServers: minimum number of server processes which are kept spare
78 # MaxSpareServers: maximum number of server processes which are kept spare
79 # MaxClients: maximum number of server processes allowed to start
80 # MaxRequestsPerChild: maximum number of requests a server process serves
81 StartServers 5
82 MinSpareServers 5
83 MaxSpareServers 10
84 MaxClients 150
85 MaxRequestsPerChild 30
86
87 # These lines here are for packages which still use apxs to activate module.
88 # LoadModule access_module modules/mod_access.so
89 # AddModule mod_foo.c
90
91 # Include other modules and packages config.
92 Include conf.d/*.conf
93 # Include webapps config
94 Include webapps.d/*.conf
95
96 # ScriptAlias: This controls which directories contain server scripts.
97 <IfModule mod_alias.c>
98         ScriptAlias /cgi-bin/ "/home/services/apache/cgi-bin/"
99
100         <Directory "/home/services/apache/cgi-bin">
101                 AllowOverride None
102                 Options None
103                 Order allow,deny
104                 Allow from all
105         </Directory>
106 </IfModule>
This page took 0.060307 seconds and 4 git commands to generate.