Linux系統配置方法:
將其改爲
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" common
Windows系統下配置方法:
#ErrorLog "|bin/rotatelogs.exe logs/vicp_net_error-%y%m%d.log 86400 480"
#CustomLog "|bin/rotatelogs.exe logs/vicp_net_access-%y%m%d.log 86400 480" common
http://www.cnblogs.com/wenanry/archive/2011/02/12/1951888.html
配置方式來源以上地址。
注意點:window 下安裝路徑不能存在空格,否則無法識別。