08 2013 档案

摘要:配置httpd.conf 监听多个端口 复制代码 代码如下:# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.. 阅读全文
posted @ 2013-08-22 11:10 rootdan 阅读(296) 评论(0) 推荐(0)
摘要:1.日志优化在apache的配置文件中找到ErrorLog logs/error_logCustomLog logs/access_log commonLinux系统配置方法:将其改为ErrorLog "| /usr/local/apache/bin/rotatelogs /home/logs/www/%Y_%m_%d_error_log 86400 480"CustomLog "| /usr/local/apache/bin/rotatelogs /home/logs/www/%Y_%m_%d_access_log 86400 480" commonW 阅读全文
posted @ 2013-08-15 14:56 rootdan 阅读(497) 评论(0) 推荐(0)