PDA

View Full Version : How to disable mod_deflate for selected sites only


SupuS
27th April 2010, 10:54
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:

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

Mark_NL
27th April 2010, 13:42
RemoveOutputFilter is a mod_mime option, is mod_mime loaded ?

SupuS
27th April 2010, 13:54
RemoveOutputFilter is a mod_mime option, is mod_mime loaded ?

Hi Mark,

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

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