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? Link to comment https://forums.phpfreaks.com/topic/128852-stop-logging-whole-directory-and-internal-ip/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.