Hello,
See:
http://wiki.apache.org/httpd/InternalDummyConnection
When the default vhost is SSL, you get the 400 because apache doesn't
bother doing ssl negotiation -- it just sends an ordinary http
request. But this doesn't matter since the request only needs to wake
up the process, nothing else.
well, but it clutters up the logfiles so web statistic software gives
wrong data about web access, because it counts the internal calls as well.
The Wiki page says, that all calls originate from the lookback device,
but thats not true. In my logfiles, all calls are originated by the ip
address of the ssl host(s), so I don't know how to effectively exclude
these calls.
We have a central, small httpd.conf which includes config files for each
virtual host. While the CustomLog settings are defined in the
httpd.conf, the individual listen and virtual host configurationis done
in the single files. That way, we can easily add and remove files and
simply restart apache without having to touch httpd.conf.
Are there variable which contains the complete request ("GET /") and the
status code ("400")? This would be the only what to detect such internal
requests independend of servernames and ip addresses. What could a
SetenvIf directive look like that would set a "skip" variable which I
could use at the CustomLog setting?
Regards
Marten