Apache internal dummy connections

Apache internal dummy connections

In my Apache access log I have more than 10 million of such queries:

::1 - - [21/Nov/2011:16:15:54 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Unix) PHP/5.2.13 (internal dummy connection)"

Is it due to the mod_rewrite redirects or what? Why are they shown in the IPv6 notation? Let me know if you require more info on the server configuration. I use Debian 5.0.

答え1

They are an internal Apache mechanism used for things like creating new child processes. They are nothing for you to worry about.

答え2

There is a way to do it in your httpd.conf file. You probably have this line:

CustomLog "logs/access_log" combined

Change it to this:

SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog CustomLog "logs/access_log" combined env=!dontlog

Source: https://www.electrictoolbox.com/apache-stop-logging-internal-dummy-connection/

関連情報