[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache2 with mod_deflate not logging



I'm having a problem with apache2 and mod_deflate on Sarge. I've tried
it with mod_chroot both enabled and not, and it seems to make no
difference. The deflate log is never updated, not matter what I do.
Here's the configuration for /etc/apache2/conf.d/deflate.conf:

    <IfModule mod_deflate.c>
	DeflateFilterNote Input instream
	DeflateFilterNote Output outstream
	DeflateFilterNote Ratio ratio
	LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
	CustomLog /var/log/apache2/deflate.log deflate

	<Location / >
	    # Insert filter
	    SetOutputFilter DEFLATE

	    # Netscape 4.x has some problems...
	    BrowserMatch ^Mozilla/4 gzip-only-text/html

	    # Netscape 4.06-4.08 have some more problems
	    BrowserMatch ^Mozilla/4\.0[678] no-gzip

	    # MSIE masquerades as Netscape, but it is fine
	    # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

	    # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
	    # the above regex won't work. You can use the following
	    # workaround to get the desired effect:
	    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

	    # Don't compress images or binaries
	    SetEnvIfNoCase Request_URI \
	    \.(?:gif|[jm]pe?g|png|t?gz|bz2*|zip|exe|iso|avi)$ no-gzip dont-vary

	    # Make sure proxies don't deliver the wrong content
	    Header append Vary User-Agent env=!dont-vary
	</Location>
    </IfModule>

a2enmod says that deflate is definitely enabled. Any ideas as to why
deflate isn't logging?

-- 
Find my Techno-Geek Journal at http://www.codegnome.org/geeklog/



Reply to: