httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] Not logging certain requests
Date Thu, 25 Sep 2008 18:54:10 GMT
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


SysAdmin is always right, I will listen to SysAdmin. I will not ignore
SysAdmin's recommendations.  SysAdmin is god. And if this ever happens
again, SysAdmin will personally rip your lungs out! --Alister

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message