Re: Not logging certain requests

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

 



On Thu, 25 Sep 2008 20:54:10 +0200
Davide Bianchi <davide@xxxxxxxxxxxxxx> 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" dontlog
> ...
> CustomLog /where/you/want/your/log combined env=!dontlog

Thanks. That works like a charm. :)

Cheers,
Christian

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