win环境apache日志记录设置

4月 4, 2014 php学习

直接修改hosts.conf 在域名解析中说明

DocumentRoot “E:\zaituzhe”
ServerName www.zaituzhe.com
ServerAlias www.zaituzhe.com
ErrorLog “|bin/rotatelogs.exe -l D:/log/error-%Y-%m-%d.log 86400”
CustomLog “|bin/rotatelogs.exe -l D:/log/access-%Y-%m-%d.log 86400” combined

按照日期access-年-月-日.log
combined 记录蜘蛛

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注