mod_deflate not working; am I missing a step?
I'm moving from an old server to a new one.
In setting up the new server, one of my first steps was recompiling Apache with all of the usual modules, including mod_deflate.
I'm getting ready to make the new server live, but I did a Gzip compression test, here:
[url=http://www.gidnetwork.com/tools/gzip-test.php]GIDZipTest: Web Page Compression (Deflate / Gzip) Test - GIDNetwork
and it comes back as not compressed.
I looked in /usr/local/apache/conf/httpd.conf, and there's no mention of "deflate". But there's no mention of it in the httpd.conf file on my old server, either, which IS compressed.
Am I missing a step? Or is it not compressing because the domain is pinging the old server, and then the DNS records redirect it to the new server (making the old server a proxy)?
-
When you login on the cPanel side for the site's account, do you have it enabled under the "Optimize Website" icon? 0 -
Hello :) Here is a snippet from our documentation on Mod_Deflate: [QUOTE]EasyApache enables mod_deflate by default, but you must enable compression for each individual web site. You can enable compression for an individual web site with the Optimize Website (Home >> Software/Services >> Optimize Website) interface in cPanel.
Thank you.0 -
if you want to set all domains to use mod_deflate add to Apache include [QUOTE]SetOutputFilter DEFLATE # Don"t compress images SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary # Make sure proxies don"t deliver the wrong content Header append Vary User-Agent env=!dont-vary 0
Please sign in to leave a comment.
Comments
3 comments