發新話題
打印

internal dummy connection

internal dummy connection

在Apache2.2之後的Apache版本中,在Apache的Log裡常常會看到大量的internal dummy connection

原因如下
Create the request string. We include a User-Agent so that adminstrators can track down the cause of the odd-looking requests in their logs.

這個問題不會影響apache的運作,如果覺得礙眼可以在httpd.conf中加入
複製內容到剪貼板
代碼:
SetEnvIf Remote_Addr "::1" dontlog
CustomLog "|/usr/local/sbin/cronolog /opt/apache/logs/eygle_access_log.%Y%m%d" combined env=!dontlog
這樣就看不到這個訊息囉!

TOP

發新話題