TECH: mod_deflate, apache2 and no compression .

eurocopter cockpit

You’ve enabled mod_deflate either via apxs as a module, or by recompiling httpd as a whole, but alas, no compression.

The apache virtual host is configured:

<Location />
Order allow,deny
Allow from all

SetOutputFilter DEFLATE
BrowserMatch ^Mozilla gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Location>

The httpd process has been refreshed via apachectl ..

Yet in the error log..

[Sat Mar 29 15:47:16 2014] [error] an unknown filter was not added: DEFLATE

The solution may be stopping apache completely to shake the ghosts out.

/sbin/service httpd stop ; sleep 10 ; /sbin/service httpd start

Does this work for you?

Leave a Reply

Your email address will not be published. Required fields are marked *