]>
Commit | Line | Data |
---|---|---|
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 /var/log/apache/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 | ||
37 | #ServerName localhost | |
38 | ||
39 | # Include other modules and packages config. | |
40 | Include conf.d/*.conf | |
41 | ||
42 | ||
43 | ### | |
44 | ### IP Address/Port | |
45 | ### | |
46 | #BindAddress * | |
47 | Listen 80 | |
48 | ||
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 | ||
54 | ### | |
55 | ### Performance settings Section | |
56 | ### | |
57 | ||
58 | ### Timeout | |
59 | # The number of seconds before receives and sends time out. | |
60 | Timeout 300 | |
61 | ||
62 | ### KeepAlive | |
63 | # Whether or not to allow persistent connections (more than one request per | |
64 | # connection). Set to "Off" to deactivate. | |
65 | KeepAlive On | |
66 | ||
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. | |
71 | ||
72 | MaxKeepAliveRequests 100 | |
73 | ||
74 | ### KeepAliveTimeout | |
75 | # Number of seconds to wait for the next request from the same client on the | |
76 | # same connection. | |
77 | ||
78 | KeepAliveTimeout 15 | |
79 | ||
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 | |
85 | StartServers 5 | |
86 | MinSpareServers 5 | |
87 | MaxSpareServers 10 | |
88 | MaxClients 150 | |
89 | MaxRequestsPerChild 30 | |
90 | ||
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 | |
94 | ||
95 | # vim: filetype=apache ts=4 sw=4 et |