mgwalk Posted October 17, 2008 Share Posted October 17, 2008 How do I stop logging a directory and and internal IP SetEnvIf Remote_Addr "10\.10\.10\.1" dontlog SetEnvIf Request_URI "^/images/*" image-request LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined CustomLog logs/access.log combined env=!dontlog env=!image-request What do I have wrong? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.