On Fri, May 13, 2005 at 02:00:07PM +0000, simon stratford wrote:
> Little bit off topic but my logfiles are filling up my server at an 
> alarming rate (800 meg for two weeks), I`m not much use on Apache, so can 
> someone give me an idiots guide to stop loggin images and style sheets etc.
> 
> I`ve edited the httpd.conf files and added
> 
> SetEnvIf Request_URI "\.gif$" dontlog
> 
> Then rebooted but it appears to still be loggin gif images. I don't need 
> .js, .css, .jpg
> 
> Any help would be great.

You also need to modify the virtual's CustomLog directive.  Something like:

CustomLog /usr/local/apache/logs/access_log combined env=!dontlog

-- 
Ken Schweigert, IT Department
Byte Productions, LLC
http://www.byte-productions.com
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to