apache_configuration_centos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apache_configuration_centos [2015/03/30 07:20] – luke7858 | apache_configuration_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | <sxh bash>/ | + | === Apache 2.4 Pre-fork configuration === |
| \\ | \\ | ||
| - | === Default vhost location === | ||
| - | <sxh bash>/ | ||
| \\ | \\ | ||
| - | \\ | + | The default location |
| - | === Changing the default | + | < |
| - | <sxh bash> | + | < |
| - | \\ | + | |
| - | You will need to add the following | + | MinSpareServers |
| - | <sxh bash>Include vhost.d/*.conf</sxh> | + | MaxSpareServers |
| + | ServerLimit | ||
| + | MaxRequestWorkers | ||
| + | MaxConnectionsPerChild | ||
| + | </ | ||
| + | </ | ||
| + | Note: If ServerLimit is lower then MaxRequestWorkers then you will get the following | ||
| + | <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.1427700009.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
