View Single Post

  #3 (permalink)  
Old 05-07-2008
HansH
 
Posts: n/a
Default Re: SetEnvIF Remote_Addr "192\.168" nolog

"Marten Kemp" <marten.kemp@thisplanet-link.net> schreef in bericht
news:fvs1b0$vr2$1@aioe.org...
> The above directive seems to suppress logging
> for everything, not just the intranet. Am I
> doing something wrong?
>
> I'm running apache 2.2.3; Debian 2.8.16 kernel.
>

There is an example just above this link
http://httpd.apache.org/docs/2.2/logs.html#rotation

Do change your line to
SetEnvIF Remote_Addr "^192\.168" nolog

otherwise you will not log p.e. 5.192.168.12 or 17.9.168.192 too!


HansH