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

Bug#306024: apache2-mpm-prefork: mod_deflate not logging

Package: apache2-mpm-prefork
Version: 2.0.53-5
Severity: normal

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                        
a2enmod says that mod_deflate is definitely enabled, so there's no reason
for the logs not to be created.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache2-mpm-prefork depends on:
ii  apache2-common              2.0.53-5     next generation, scalable, extenda
ii  libapr0                     2.0.53-5     the Apache Portable Runtime
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.8-1     XML parsing C library - runtime li
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libpcre3                    4.5-1.1      Perl 5 Compatible Regular Expressi
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information

Reply to: