47 lines
733 B
Plaintext
47 lines
733 B
Plaintext
{
|
|
|
|
$OUT .= <<HERE;
|
|
Listen $port
|
|
HostnameLookups off
|
|
|
|
ServerAdmin root@$DomainName
|
|
ServerRoot /etc/httpd
|
|
ServerTokens ProductOnly
|
|
|
|
User srvmgr
|
|
Group srvmgr
|
|
|
|
Include conf.modules.d/*.conf
|
|
|
|
ErrorLog /var/log/client-manager/error_log
|
|
LogLevel warn
|
|
HERE
|
|
|
|
|
|
$OUT .= <<HERE;
|
|
PidFile /var/run/client-manager.pid
|
|
ScoreBoardFile /var/run/client-manager.scoreboard
|
|
UseCanonicalName off
|
|
LogFormat "%h %l %u %t \\"%r\\" %>s %b" common
|
|
LogFormat "%{User-agent}i" agent
|
|
|
|
CustomLog /var/log/client-manager/access_log common
|
|
|
|
KeepAlive On
|
|
MaxKeepAliveRequests 100
|
|
KeepAliveTimeout 15
|
|
|
|
MaxClients 150
|
|
MaxRequestsPerChild 100
|
|
|
|
MinSpareServers 1
|
|
MaxSpareServers 5
|
|
StartServers 1
|
|
Timeout 300
|
|
|
|
DirectoryIndex index.php
|
|
AccessFileName .htaccess
|
|
|
|
HERE
|
|
}
|