Global Configuration

For WHM version 11.38

(Home >> Service Configuration >> Apache Configuration >> Global Configuration)

This feature allows you to adjust several advanced features of the Apache web server.

Many of these features require you to format your entry in a specific way. To learn more about a directive, click the name to view the corresponding documentation from the Apache website.

Directive Description Default Settings
SSL Cipher Suite This directive sets the OpenSSL ciphers that Apache will use. ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
Trace Enable This directive allows or disallows TRACE requests. On
Server Signature This directive determines whether server information will appear in error results and other server-generated information. Off
Server Tokens This directive determines the amount of information Apache will provide to visitors via Server HTTP response headers. Full
File ETag ETags display meta information to visitors who request a file. This directive determines the amount of information Apache will provide to visitors who request a file via HTTP. This directive can potentially reduce server load and increase load speed. All
Directory ‘/’ Options This directive sets several options that pertain to the root (/) directory. ExecCGI
FollowSymLinks
IncludesNOEXEC
Indexes
SymLinksIfOwnerMatch
Start Servers This directive sets the number of child server processes created when Apache starts. 5
Server Limit This directive sets the maximum configured value for the MaxClients directive (known as MaxRequestWorkers in Apache 2.4) for the lifetime of the Apache process. 256
Keep-Alive This directive enables long-lived HTTP sessions, which allow multiple requests to be sent over the same TCP connection. This directive can reduce load times for HTML documents with many images. Off
Keep-Alive Timeout This directive sets the number of seconds Apache will wait for a subsequent request before Apache closes a connection. 5
Max Keep-Alive Requests This directive limits the number of requests a TCP connection can make when KeepAlive is enabled. If you do not wish to limit KeepAlive requests, then set this value to 0. 100
Timeout This directive defines the amount of time (in seconds) that Apache will wait for certain events before Apache fails a request. 300

note Note: Please ensure that you and your users will not need a given option before you disable it.

When you have set your configuration options, click Save. You will be taken to a new page where you can click Rebuild Configuration and Restart Apache.

To undo any changes you have made, click Reset.

The Prefork MPM

If you have built Apache with the Prefork MPM, you can configure the following 4 additional directives in the Global Configuration (Home >> Service Configuration >> Apache Configuration) interface:

Directive Description Default Settings
Minimum Spare Servers This directive sets the minimum number of idle child server processes. You only need to configure this number for a very busy site. 5
Maximum Spare Servers This directive sets the maximum number of idle child server processes. You only need to configure this number for a very busy site. 10
Max Clients This directive sets the limit on the number of simultaneous requests that Apache will serve. You can enter a number equal to or lower than the value of the ServerLimit setting.
(This directive was renamed MaxRequestWorkers in Apache 2.4)
150
Max Requests Per Child This directive sets the limit on the number of requests that an individual child server process will handle. After the child server processes a MaxRequestsPerChild number of requests, the child server process will terminate. If MaxRequestsPerChild is 0, then the child server process will never expire.
(This directive was renamed MaxConnectionsPerChild in Apache 2.4)
10000

For more information about the Prefork MPM, you can read Apache's documentation.

The Worker MPM

If you have built Apache with the Worker MPM, you can configure the following 2 additional directives in the Global Configuration (Home >> Service Configuration >> Apache Configuration) interface:

Directive Description Default Settings
Max Clients This directive sets the limit on the number of simultaneous requests that Apache will serve. You can enter a number equal to or lower than the value of the ServerLimit setting.
(This directive was renamed MaxRequestWorkers in Apache 2.4)
150
Max Requests Per Child This directive sets the limit on the number of requests that an individual child server process will handle. After the child server process requests MaxRequestsPerChild requests, the child server process will die. If MaxRequestsPerChild is 0, then the child server process will never expire.
(This directive was renamed MaxConnectionsPerChild in Apache 2.4)
10000

For more information about the Worker MPM, you can read Apache's documentation.

Topic revision: r11 - 30 Jan 2013 - 21:59:11 - Main.LaurenceSimon