Web Server/Apache/Nginx & 技术 18 Sep 2008 01:44 pm

apache log中的 Apache (internal dummy connection)

 

#tail logs/access_log

::1 - - [18/Sep/2008:13:56:34 +0800] “GET / HTTP/1.0″ 200 843 “-” “Apache (internal dummy connection)”
::1 - - [18/Sep/2008:13:56:34 +0800] “GET / HTTP/1.0″ 200 843 “-” “Apache (internal dummy connection)”
::1 - - [18/Sep/2008:13:56:34 +0800] “GET / HTTP/1.0″ 200 843 “-” “Apache (internal dummy connection)”
::1 - - [18/Sep/2008:13:56:34 +0800] “GET / HTTP/1.0″ 200 843 “-” “Apache (internal dummy connection)”
::1 - - [18/Sep/2008:13:56:34 +0800] “GET / HTTP/1.0″ 200 843 “-” “Apache (internal dummy connection)”

修改httpd.conf

    SetEnvIf Remote_Addr “::1″ dontlog
    CustomLog logs/access_log combined  env=!dontlog

Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply