User Tools

Site Tools


apache_configuration_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apache_configuration_centos [2015/03/30 06:44] – created luke7858apache_configuration_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
  
-<sxh bash>/etc/httpd/conf/httpd.conf</sxh> +=== Apache 2.4 Pre-fork configuration ===
 \\ \\
-=== Default vhost location === 
-<sxh bash>/etc/httpd/conf.d/*.conf</sxh> 
-\\ 
-\\ 
-=== Changing default vhost location === 
-<sxh bash>edit /etc/httpd/conf/httpd.conf</sxh> 
 \\ \\
 +The default location for the settings in apache 2.4 are: /etc/httpd/conf.modules.d/00-mpm.conf
 +<sxh bash>
 +<IfModule mpm_prefork_module>
 +    StartServers             5
 +    MinSpareServers          5
 +    MaxSpareServers         10
 +    ServerLimit             25
 +    MaxRequestWorkers       25
 +    MaxConnectionsPerChild   0
 +</IfModule>
 +</sxh>
 +Note: If ServerLimit is lower then MaxRequestWorkers then you will get the following error:
 +<code>
 +[root@apache ~]# httpd -t
 +AH00180: WARNING: MaxRequestWorkers of 500 exceeds ServerLimit value of
 + 256 servers, decreasing MaxRequestWorkers to 256.
 + To increase, please see the ServerLimit directive.
 +Syntax OK
 +</code>
apache_configuration_centos.1427697864.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki