httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guille \(Bisho\)" <gui...@redestb.es>
Subject Filter some IP address in logs
Date Wed, 22 Sep 1999 23:48:48 GMT

Reciently I was asked how to filter some ip addresses and make them not
appear at the logs. The person who asked it knowns the way of doing it
in the CERN server, but not in Apache.

After searching a little I find an elegant solution to this problem:

  SetEnvIf Remote_Addr 127.0.0.[0-255] no_log
  CustomLog common.log common env=!no_log

But it's not an obyous way, so it could be interesting to include this
somewhere in the FAQ???

-- 
Chao                   ___<E-MAILS>__________________________________
Guille!                | guille@redestb.es      bisho@writeme.com   |
       \|||||||/       | bisho@eurielec.etsit.upm.es                |
       < o   o >       |___<WEBS + Importantes>_____________________|
        \  L  /        |*PAT: http://personal.redestb.es/guille     |
 ---oOOo-------oOOo--- |       (Pagina Alternativa de Teleko)       |
 Guillermo Pérez Pérez |*Eurielec Linux 3.0!!!  (basada en RH 6.0)  |
Estudiante ETSIT (UPM) |   http://www.eurielec.etsit.upm.es/linux/  |
                       |____________________________________________|
Nueva Eurielec Linux 3.0 (basada en RedHat 6.0). I love Linux!

Mime
View raw message