欢迎访问 生活随笔!

凯发k8官方网

当前位置: 凯发k8官方网 > 编程语言 > php >内容正文

php

dummy.php 下载,internal dummy connection -凯发k8官方网

发布时间:2025/1/21 php 21 豆豆
凯发k8官方网 收集整理的这篇文章主要介绍了 dummy.php 下载,internal dummy connection 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

internal dummy connection

apache2.2之后,在apache的日志中经常看到大量的internal dummy connection日志:

[ [email protected]

logs]# tail -f access_log.20060409 |grep “internal dummy connection”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

::1 – – “get / http/1.0” 200 68091 “-” “apache/2.2.0 (unix) php/5.1.2 (internal dummy connection)”

srequest = apr_pstrcat(p, “get / http/1.0\r\nuser-agent: “,

ap_get_server_version(),

” (internal dummy connection)\r\n\r\n”, null);

查看apache手册(有条件的记录日志)

通过修改apache的配置文件可以在日志中屏蔽这些信息:

errorlog “/usr/local/apache/logs/error_log”

setenvif remote_addr “::1” dontlog

customlog “/usr/local/apache/logs/access_log” combined env=!dontlog

这样日志就不记录这些信息了

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

总结

以上是凯发k8官方网为你收集整理的dummy.php 下载,internal dummy connection的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得凯发k8官方网网站内容还不错,欢迎将凯发k8官方网推荐给好友。

网站地图