Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 537 — #563
i
i
i
i
i
i
i
i
22
The Apache Web Server
<IfDefine someflag>
.
.
.
</IfDefine>
it is only activated if the respective flag is set in ACTIVE_SERVER_FLAGS:
ACTIVE_SERVER_FLAGS = ... someflag ... . In this way, extensive
sections of the configuration file can easily be activated or deactivated for
test purposes.
22.7.2 Manual Configuration
You can edit the configuration file /etc/apache2/httpd.conf to
enable features that are not available through the settings defined in
/etc/sysconfig/apache2. The following sections describe some of the
parameters that can be set. They are listed below in the order in which they
appear in the file.
DocumentRoot
One basic setting is the DocumentRoot — the directory under which
Apache expects web pages the server should deliver. For the default vir-
tual host, it is set to /srv/www/htdocs. Normally, this setting does not
need to be changed.
Timeout
Specifies the waiting period after which the server reports a time-out for a
request.
MaxClients
The maximum number of clients Apache can handle concurrently. The
default setting is 150, but this value may be too small for a heavily fre-
quented web site.
LoadModule
The LoadModule directives specify the modules to load. In the case of
Apache 2, the loading sequence is determined by the modules themselves
(see Section 22.4 on page 533). These directives also specify the file contain-
ing the module.
537SUSE LINUX Enterprise Server










