For cPanel & WHM version 68
(WHM >> Home >> Service Configuration >> Apache Configuration)
This feature allows you to adjust several of the Apache web server's advanced features. Many of these directives require that you format your entry in a specific way. Click a directive name to view its documentation on the Apache website.
To configure the advanced features of the Apache web server, use the following directives:
|SSL Cipher Suite|
Sets the OpenSSL ciphers that Apache uses.
By default, cPanel & WHM uses the following cipher list for web services:
Click to view...
Determines the SSL and TLS protocols that the client and server negotiate during the SSL/TLS handshake phase.
|LogLevel||Sets the verbosity of the error log.||warn|
|Trace Enable||Allows or disallows TRACE requests.||Off|
|Server Signature||Determines whether server information appears in error results and other information that the server generates.||Off|
Determines the amount of information that Apache provides to visitors in Server HTTP response headers.
Determines the amount of information that Apache provides to visitors who request a file via HTTP.
|Directory "/" Options||Sets several options that pertain to the |
|Start Servers||Defines the number of child server processes that Apache creates when it starts.||5|
|Minimum Spare Servers|
Sets the minimum number of idle child server processes. Only configure this directive for very busy servers.
|Maximum Spare Servers|
Sets the maximum number of idle child server processes. Only configure this directive for very busy servers.
|Optimize .htaccess (AllowOverride)||Reduces the number of paths that Apache checks for ||search_homedir_below|
|Server Limit||Defines the maximum configured value for the MaxClients directive (the MaxRequestWorkers directive in Apache 2.4) for the lifetime of the Apache process.||256|
Sets the limit on the number of simultaneous requests that Apache serves. You can enter a number equal to or lower than the value of the ServerLimit setting (the MaxRequestWorkers directive in Apache 2.4).
|Max Requests Per Child|
Sets the limit on the number of requests that an individual child server process handles. After the child server processes a MaxRequestsPerChild number of requests, the child server process terminates. If the MaxRequestsPerChild setting equals
This is the MaxConnectionsPerChild directive in Apache 2.4.
|Keep-Alive||Enables long-lived HTTP sessions, which allow you to send multiple requests over the same TCP connection. This directive can reduce load times for HTML documents with many images.||Off|
|Keep-Alive Timeout||Defines the number of seconds that Apache waits for a subsequent request before Apache closes a connection.||5|
|Max Keep-Alive Requests||Limits the number of requests that a TCP connection can make when you enable the KeepAlive directive. If you do not wish to limit KeepAlive directive requests, set this value to ||100|
|Timeout||Defines the amount of time (in seconds) that Apache waits for certain events before Apache fails a request.||300|
|Symlink Protection||Enables the Symlink Protection patch, which helps improve Apache's ability to detect a race condition.||Off|
Make certain that you and your users do not require a directive before you disable it.
After you update the desired configuration options, click Save. A new interface will appear. Click Rebuild Configuration and Restart Apache.
To undo any of your changes, click Reset.
Manually edit Apache features
To manually configure the advanced features of the Apache web server, perform the following steps:
Log in to your server as the
rootuser via SSH.
/var/cpanel/conf/apache/localfile and locate the setting that you wish to edit, for example:
Enter the desired value for that setting, for example:
For a complete list of each feature's valid values, read Apache's Directive Quick Reference documentation.
- Run the
/scripts/rebuildhttpdconfscript to rebuild the
- Restart Apache with the