{"id":916,"date":"2021-07-23T12:41:11","date_gmt":"2021-07-23T12:41:11","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/global-configuration\/"},"modified":"2021-07-23T12:41:11","modified_gmt":"2021-07-23T12:41:11","slug":"global-configuration","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/global-configuration\/","title":{"rendered":"Global Configuration"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 86 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<h4>84<\/h4>\n<h4>86<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This feature allows you to adjust several of the Apache\u00ae web server\u2019s 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.<\/p>\n<h2 id=\"global-configuration\">Global Configuration<\/h2>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>Some of these settings require that you install Multi-Processing Modules (MPM). For more information, read our MPM documentation.<\/p>\n<\/li>\n<li>\n<p>Make <strong>certain<\/strong> that you and your users do <strong>not<\/strong> require a directive before you disable it.<\/p>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<p>To configure the advanced features of the Apache web server, use the following directives:<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"left\">Directive<\/th>\n<th align=\"left\">Description<\/th>\n<th align=\"left\">Default Settings<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\"><em>SSL Cipher Suite<\/em><\/td>\n<td align=\"left\">Sets the OpenSSL ciphers that Apache uses. <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>We recommend that you use this directive&#8217;s default setting to adjust your server for PCI compliance. For more information about PCI compliance, read our PCI Compliance and Software Versions documentation.<\/li>\n<li>If your chosen SSL protocol or the version of OpenSSL that EasyApache 4 uses does <strong>not<\/strong> support a cipher, the system will display an error message.<\/li>\n<\/ul><\/div>\n<\/div>\n<\/td>\n<td align=\"left\">By default, cPanel &#038; WHM uses the following cipher list for web services:<\/p>\n<div class=\"collapse-wrapper\">\n<p>        Click to view&#8230;<\/p>\n<div class=\"collapse\" id=\"click-to-view---1626990044672424731\">\n<div class=\"card card-body\">\n            ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256\n        <\/div>\n<\/p><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>SSL\/TLS Protocols<\/em><\/td>\n<td align=\"left\">Determines the SSL and TLS protocols that the client and server negotiate during the SSL\/TLS handshake phase.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        Most modern browsers only support Transport Layer Security (TLS) protocol version 1.2 or newer.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>TLSv1.2<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>SSL Use Stapling<\/em><\/td>\n<td align=\"left\">This option enables Online Certificate Status Protocol (OCSP) stapling. If enabled and requested by the client, the TLS handshake will include an OCSP response for its own certificate. This improves performance and security because the client does not need to contact the Certificate Authority (CA). For more information, read Wikipedia\u2019s OCSP stapling article.<\/td>\n<td align=\"left\"><em>On<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Extended Status<\/em><\/td>\n<td align=\"left\">Shows more details about incoming requests. This information appears in WHM\u2019s <em>Apache Status<\/em> (<em>WHM &gt;&gt; Home  &gt;&gt; Server Status &gt;&gt; Apache Status<\/em>) interface.<\/td>\n<td align=\"left\"><em>On<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>LogLevel<\/em><\/td>\n<td align=\"left\">Sets the verbosity of the error log.<\/td>\n<td align=\"left\"><em>warn<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>LogFormat (combined)<\/em><\/td>\n<td align=\"left\">The Apache log file\u2019s format, which includes the referrer and user agent strings. <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        The system defaults to this format.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>%h %l %u %t \u201c%r\u201d %&gt;s %b \u201c%{Referer}i\u201d \u201c%{User-Agent}i\u201d<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>LogFormat (common)<\/em><\/td>\n<td align=\"left\">The Apache log file\u2019s format.<\/td>\n<td align=\"left\"><em>%h %l %u %t \u201c%r\u201d %&gt;s %b<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Trace Enable<\/em><\/td>\n<td align=\"left\">Allows or disallows TRACE requests.<\/td>\n<td align=\"left\"><em>Off<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Server Signature<\/em><\/td>\n<td align=\"left\">Determines whether server information appears in error results and other information that the server generates.<\/td>\n<td align=\"left\"><em>Off<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Server Tokens<\/em><\/td>\n<td align=\"left\">Determines the amount of information that Apache provides to visitors in Server HTTP response headers.<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>File ETag<\/em><\/td>\n<td align=\"left\">Determines the amount of information that Apache provides to visitors who request a file via HTTP. <\/p>\n<ul>\n<li>ETags display meta information to visitors who request a file.<\/li>\n<li>This directive can potentially reduce server load and increase load speed.<\/li>\n<\/ul>\n<\/td>\n<td align=\"left\"><em>None<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Directory \u201c\/\u201d Options<\/em><\/td>\n<td align=\"left\">Sets several options that pertain to the root (\/) directory.<\/td>\n<td align=\"left\">\n<ul>\n<li>ExecCGI<\/li>\n<li>FollowSymLinks<\/li>\n<li>IncludesNOEXEC<\/li>\n<li>Indexes<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Start Servers<\/em><\/td>\n<td align=\"left\">Defines the number of child server processes that Apache creates when it starts.<\/td>\n<td align=\"left\"><em>5<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Minimum Spare Servers<\/em><\/td>\n<td align=\"left\">Sets the minimum number of idle child server processes. Only configure this directive for very busy servers. <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        To configure this setting, you must install the MPM Prefork module.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>5<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Maximum Spare Servers<\/em><\/td>\n<td align=\"left\">Sets the maximum number of idle child server processes. Only configure this directive for very busy servers. <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        To configure this setting, you must install the MPM Prefork module.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>10<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Server Limit<\/em><\/td>\n<td align=\"left\">Defines the maximum configured value for the MaxRequestWorkers directive (the MaxClients directive in Apache versions earlier than 2.4) for the lifetime of the Apache process.<\/td>\n<td align=\"left\"><em>256<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Max Request Workers<\/em><\/td>\n<td align=\"left\">Sets the limit on the number of simultaneous requests that Apache serves. For example, use this value to change the maximum number of HTTP connections. You can enter a number equal to or lower than the value of the Server Limit setting (Apache refers to this directive as Max Clients in versions earlier than 2.4.) <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>To configure this setting, you must install the MPM Event, MPM Worker, or MPM Prefork module.<\/p>\n<\/p><\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>150<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Max Connections Per Child<\/em><\/td>\n<td align=\"left\">Sets the limit on the number of requests that an individual child server process handles. After the child server processes a MaxConnectionsPerChild number of requests, the child server process terminates. If the MaxConnectionsPerChild setting equals 0, the child server process never expires. (Apache refers to this directive as Max Requests Per Child in versions earlier than 2.4.) <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        To configure this setting, you must install the MPM Prefork module.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\"><em>10000<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Keep-Alive<\/em><\/td>\n<td align=\"left\">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.<\/td>\n<td align=\"left\"><em>Off<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Keep-Alive Timeout<\/em><\/td>\n<td align=\"left\">Defines the number of seconds that Apache waits for another request before Apache closes a connection.<\/td>\n<td align=\"left\"><em>5<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Max Keep-Alive Requests<\/em><\/td>\n<td align=\"left\">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 0.<\/td>\n<td align=\"left\"><em>100<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Timeout<\/em><\/td>\n<td align=\"left\">Defines the amount of time (in seconds) that Apache waits for certain events before Apache fails a request.<\/td>\n<td align=\"left\"><em>300<\/em><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><em>Symlink Protection<\/em><\/td>\n<td align=\"left\">Enables the Symlink Protection patch, which helps improve Apache\u2019s ability to detect a race condition.<\/td>\n<td align=\"left\"><em>Off<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After you update the desired configuration options, click <em>Save<\/em>. A new interface will appear. Click <em>Rebuild Configuration and Restart Apache<\/em>.<\/p>\n<p>To undo any of your changes, click <em>Reset<\/em>.<\/p>\n<h2 id=\"manually-edit-apache-features\">Manually edit Apache features<\/h2>\n<p>The server stores the configuration of your Apache web server in the <code>etc\/cpanel\/ea4\/ea4.conf<\/code> file. This file replaced the <code>\/var\/cpanel\/conf\/apache\/local<\/code> and <code>\/var\/cpanel\/conf\/apache\/main<\/code> files.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>We <strong>strongly<\/strong> recommend that you do <strong>not<\/strong> directly edit the <code>\/etc\/cpanel\/ea4\/ea4.conf<\/code> file. Use the interface instead. Editing the file directly may result in unexpected results, including server instability.<\/p>\n<\/p><\/div>\n<\/div>\n<p>We provide several other methods to customize your system. You can use one of the following methods to create custom configurations:<\/p>\n<ul>\n<li>\n<p>Create a custom template file for your Apache configuration. For more information, read our Custom Templates  documentation.<\/p>\n<\/li>\n<li>\n<p>Add include files for your virtualhosts. For more information, read our Modify Apache Virtual Hosts with Include Files documentation.<\/p>\n<\/li>\n<li>\n<p>Third-party integrators can edit their configuration on the command line with the <code>Cpanel::EA4::Conf<\/code> class. For more information, read our Guide to Perl in cPanel &#8211; Apache Configuration documentation.<\/p>\n<\/li>\n<\/ul>\n<p>For more information, read our Advanced Apache Configuration documentation.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 86 through the latest version Version: 82 84 86 Overview This feature allows you to adjust several of the Apache\u00ae web server\u2019s 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. Global Configuration &hellip;<\/p>\n","protected":false},"author":1,"featured_media":917,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/916"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=916"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/916\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/917"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}