服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - Centos5.2配置LAMP与Centos5.3配置LAMP(23)

Centos5.2配置LAMP与Centos5.3配置LAMP(23)

2019-10-11 14:12Centos教程网 Centos

ServerAlias bbs.linux.com ErrorLog logs/linux.com-error_log CustomLog |/usr/local/cronolog/sbin/cronolog /data/logs/access_www.linux.com.%Y%m%d combined vi /usr/local/apache2/conf/extra/httpd-default.

ServerAlias bbs.linux.com 
ErrorLog “logs/linux.com-error_log” 
CustomLog “|/usr/local/cronolog/sbin/cronolog /data/logs/access_www.linux.com.%Y%m%d” combined 


vi /usr/local/apache2/conf/extra/httpd-default.conf 

Timeout 15 
KeepAlive Off 
MaxKeepAliveRequests 50 
KeepAliveTimeout 5 
UseCanonicalName Off 
AccessFileName .htaccess 
ServerTokens Prod 
ServerSignature Off 
HostnameLookups Off 

vi /usr/local/apache2/conf/extra/httpd-mpm.conf 


ServerLimit 2000 
StartServers 10 
MinSpareServers 10 
MaxSpareServers 15 
MaxClients 2000 
MaxRequestsPerChild 10000 


七:测试 

延伸 · 阅读

精彩推荐