怎样让网站访问日志显示爬行记录蜘蛛全称?Apache日志记录设置
1、首先进入服务器httpd目录,找到httpd配置文件httpd.conf打开,搜索关键词“LogFormat”,找到下面代码块:
LogFormat
“%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”" combined
LogFormat
“%h %l %u %t \”%r\” %>s %b” common
LogFormat
“%{Referer}i -> %U” referer
LogFormat
“%{User-agent……