How to disable mod_deflate for selected sites only

Discussion in 'General' started by SupuS, Apr 27, 2010.

  1. SupuS

    SupuS Member HowtoForge Supporter

    Hi all,

    I installed mod_deflate as decribed in this howto http://www.howtoforge.com/apache2_mod_deflate and than disabled flash as described on http://www.philchen.com/2009/08/04/apache-mod_deflate-and-flash-swf-files-dont-like-each-other but I still have problem with the Joomla component JSN ImageShow. On first load of page Internet Explorer don't load flash header. After page refresh it works fine.

    I cannot figure how to resolve this problem so I tried switch off mod_deflate for this site. I set:

    <Directory /var/www/webXXX/web>
    RemoveOutputFilter DEFLATE
    SetEnv no-gzip
    </Directory>

    in apache directives but I get this error:

    Code:
    Invalid command 'RemoveOutputFilter', perhaps misspelled or defined by a module not included in the server configuration
    Is the way how to disable mod_deflate by apache directive?

    Thanks for any suggestion

    SupuS
     
  2. Mark_NL

    Mark_NL New Member

    RemoveOutputFilter is a mod_mime option, is mod_mime loaded ?
     
  3. SupuS

    SupuS Member HowtoForge Supporter

    Hi Mark,

    yes, mod_mime is loaded. Here is list of loaded modules:

    Code:
    alias
    auth_basic
    authn_file
    authz_default
    authz_groupfile
    authz_host
    authz_user
    autoindex
    cgi
    dav
    dav_fs
    deflate
    dir
    mime
    negotiation
    php5
    rewrite
    setenvif
    ssl
     

Share This Page