3 ### Main Configuration Section
5 ### This config aims to be clean and readable, you should see
6 ### /usr/share/doc/apache1-*/apache.conf.dist.gz for comments on the directives.
10 ServerRoot "/etc/apache"
12 ResourceConfig /dev/null
13 AccessConfig /dev/null
15 LockFile /var/run/apache.lock
16 PidFile /var/run/apache.pid
17 ScoreBoardFile /var/run/apache.scoreboard
18 CoreDumpDirectory /var/run/apache
19 ErrorLog logs/error_log
22 AccessFileName .htaccess
24 DefaultType text/plain
32 # ServerAdmin: Your address, where problems with the server should be
33 # e-mailed. This address appears on some server-generated pages, such
35 ServerAdmin root@localhost
44 # Listen can take two arguments.
45 # (this is an extension for supporting IPv6 addresses)
50 ### Performance settings Section
54 # The number of seconds before receives and sends time out.
58 # Whether or not to allow persistent connections (more than one request per
59 # connection). Set to "Off" to deactivate.
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.
67 MaxKeepAliveRequests 100
70 # Number of seconds to wait for the next request from the same client on the
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
84 MaxRequestsPerChild 30
86 # This controls the directory to which Apache attempts to switch before dumping
87 # core. The default is in the ServerRoot directory, however since this should
88 # not be writable by the user the server runs as, core dumps won't normally get
89 # written. If you want a core dump for debugging, you can use this directive to
90 # place it in a different location.
91 # Please note that you should also set ulimit coredumpsize to unlimited in
92 # /etc/sysconfig/apache for this to have any effect.
93 #CoreDumpDirectory /var/tmp
95 # These lines here are for packages which still use apxs to activate module.
96 # LoadModule access_module modules/mod_access.so
99 # Include other modules and packages config.
100 Include conf.d/*.conf
101 # Include webapps config
102 Include webapps.d/*.conf
104 # ScriptAlias: This controls which directories contain server scripts.
105 <IfModule mod_alias.c>
106 ScriptAlias /cgi-bin/ "/home/services/apache/cgi-bin/"
108 <Directory "/home/services/apache/cgi-bin">
111 <IfModule mod_access.c>
118 # VirtualHost: Allows the daemon to respond to requests for more than one
119 # server address, if your server machine is configured to accept IP packets
120 # for multiple addresses. This can be accomplished with the ifconfig
121 # alias flag, or through kernel patches like VIF.
123 # Any apache.conf conf directive may go into a VirtualHost command.
124 # See also the BindAddress entry.
126 # Setup default vhost (first one defined in config) and include vhosts configuration
127 NameVirtualHost 0.0.0.0
128 <VirtualHost 0.0.0.0>
130 # ServerAdmin webmaster@host.example.com
131 # DocumentRoot /www/docs/host.example.com
132 # ErrorLog logs/host.example.com-error_log
133 # TransferLog logs/host.example.com-access_log
136 Include vhosts.d/*.conf