httpd.cong dntlog - what i´m doing wrong?

httpd.cong dntlog - what i´m doing wrong?

am 18.06.2007 21:26:34 von Eduardo

Hi,

I need a help, please.

I don´t want my computer logged in access.log, I´m using:

#
CustomLog logs/access.log common
SetEnvIf Remote_Addr "192\.168\.2\.60" dontlog
#

No working!!! What I´m doing wrong?

Thanks.

Eduardo.

Re: httpd.cong dntlog - what i´m doing wrong?

am 18.06.2007 22:25:13 von shimmyshack

On Jun 18, 8:26 pm, Eduardo wrote:
> Hi,
>
> I need a help, please.
>
> I don=B4t want my computer logged in access.log, I=B4m using:
>
> #
> CustomLog logs/access.log common
> SetEnvIf Remote_Addr "192\.168\.2\.60" dontlog
> #
>
> No working!!! What I=B4m doing wrong?
>
> Thanks.
>
> Eduardo.


SetEnvIf Remote_Addr "192\.168\.2\.60" dontlog
CustomLog logs/access_log common env=3D!dontlog

Env has to be set before you use it!