The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_deflate not working; am I missing a step?

Discussion in 'General Discussion' started by GoWilkes, Mar 16, 2014.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    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:

    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)?
     
  2. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    When you login on the cPanel side for the site's account, do you have it enabled under the "Optimize Website" icon?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,732
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Here is a snippet from our documentation on Mod_Deflate:

    Thank you.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    if you want to set all domains to use mod_deflate add to Apache include

     
Loading...

Share This Page