[solved] Cannot enable gzip compression.

Discussion in 'General' started by dopelherz, Aug 7, 2013.

  1. dopelherz

    dopelherz New Member

    Hi!
    I would appreciate any help on this one:
    http://www.zenmony.com/okinawa-fucoidan-c8/
    In my LiteSpeed config gzip compression seems to be enabled, but when I cheched response headers I do not see Content-Encoding: gzip.
    Also I would like to hide or change these response headers:
    Server: LiteSpeed
    X-Powered-By: PHP/5.3.23

    Thank you!
    Last edited by a moderator: Aug 9, 2013
  2. NiteWave

    NiteWave Administrator

    please upgrade to latest 4.2.4
    refer http://www.litespeedtech.com/litespeed-web-server-release-log.html
    see if it just fixes your site's issue.

    in lsws admin console,
    Server->General->Server Signature: select "Hide Full Header"
  3. dopelherz

    dopelherz New Member

    Hi,
    thanks for your reply!
    However upgrading to 4.2.4 did not resolve the issue.
    I have text/* in compressible types.
    Where else can I look at?
    Should I try adding gzip settings to .htaccess?

    Thank you.
  4. NiteWave

    NiteWave Administrator

    may not need.

    can you post the setting in your
    lsws admin console
    ->Server
    ->Tuning
    ->GZIP Compression

    or PM your admin console's access so I can take a quick check.
  5. dopelherz

    dopelherz New Member

  6. dopelherz

    dopelherz New Member

    Thanks for telling. Yes, I had to enable gzip in php.ini
    zlib.output_compression = On
    Now I can see it works with html and text,
    but I still don't see gzip header with css and js files.
    Is it the way it should be?
    Thanks.
  7. NiteWave

    NiteWave Administrator

    yes, by default, css/js etc is gzip'd.
    and no need
    zlib.output_compression = On

    there must be a setting somewhere which override the default setting.
  8. dopelherz

    dopelherz New Member

    Thanks for your help a lot :)
    I think the issue is now resolved!
  9. NiteWave

    NiteWave Administrator

    while I still can't see "Content-Encoding:gzip" response header for js/css, per your feedback, I'll mark this thread as [solved]. maybe you disable the gzip purposely.

Share This Page