Forum Moderators: phranque

Message Too Old, No Replies

dontLog

         

rros

2:31 am on Aug 26, 2010 (gmt 0)

10+ Year Member



I have been trying to prevent loggin of my own IP to get to see cleaner stats (webalizer/awstats) as I work on my website. It still has little traffic so logs are flooded with my requests.

I have tried variations of this in my .htaccess to no avail:

SetEnvif Remote_Addr "xx\.#*$!\.xx\.#*$!" dontLog

Am I doing this right? Thanks.

jdMorgan

3:01 am on Aug 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This only sets a server variable. In order to not log requests when that variable is set, you must use a custom logging configuration. This can only be done at the server config level. So you could try asking your host if they support custom logging in any way...

Jim

rros

4:29 am on Aug 26, 2010 (gmt 0)

10+ Year Member



Ah... I suspected I was wasting my time. Will try contacting the admin. Thanks!