« 换了液晶显示器 开始玩网游 | Main | 多 IP 流量统计sql算法 »
January 21, 2007
squid 打开 log_mime_hdrs 记录 MIME Header log
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 https://windtear.net/archives/2007/01/21/001195.html http://windtear.net/archives/2007/01/21/001195.html squid 打开 log_mime_hdrs 记录 MIME Header log 前天别人问的 记录一下 修改 squid.conf log_mime_hdrs on # TAG: log_mime_hdrs on|off # The Cache can record both the request and the response MIME # headers for each HTTP transaction. The headers are encoded # safely and will appear as two bracketed fields at the end of # the access log (for either the native or httpd-emulated log # formats). To enable this logging set log_mime_hdrs to 'on'. # #Default: # log_mime_hdrs off 然后在 access log 最后多出来两列 [Request MIME Header] [Response MIME Header] MIME Header 里面包含回车和换行 \r\n 如果信息较多的话 将是很难看的信息 呵呵 |
Posted by windtear at January 21, 2007 11:50 PM