httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Strange access log entry repeating
Date Wed, 17 Oct 2007 12:38:18 GMT
Later versions of 2.2 (starting with 2.2.7) will have Apache
send 'OPTIONS *' instead of the 'GET /' which will make
it easier for you to exclude those.

On Oct 17, 2007, at 7:08 AM, Marten Lehmann wrote:

> 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
>


Mime
View raw message