Re: Not logging certain requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux