Skip to content


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

Posted in Apache, 技术.

Tagged with , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.