On Thu, 25 Sep 2008 20:54:10 +0200
Davide Bianchi [EMAIL PROTECTED] wrote:
Christian Lerrahn wrote:
is there a way to configure Apache as to not log requests from
certain IP addresses?
Yes, conditional logging is what you're looking for.
SetEnvIf Remote_Addr the\.ip\.address\.here
Hi,
is there a way to configure Apache as to not log requests from certain
IP addresses? I'd like to make sure that mirroring by a certain machine
does not show up in my log files because my site has plenty of files
and I will clog up a lot of logs with mirroring if I log as usual.
Cheers,
Christian Lerrahn wrote:
is there a way to configure Apache as to not log requests from certain
IP addresses?
Yes, conditional logging is what you're looking for.
SetEnvIf Remote_Addr the\.ip\.address\.here dontlog
...
CustomLog /where/you/want/your/log combined env=!dontlog
Davide
--