How to enable GZIP in ISPConfig 3

Discussion in 'Installation/Configuration' started by Taxick, Aug 13, 2023.

Tags:
  1. Taxick

    Taxick Member

    Hi :)

    First, I want to say thanks for ISPConfig. I like it very much.

    But I have one question. How can I enable Gzip on my sites/server?

    I have found this URL: https://www.howtoforge.com/apache2_mod_deflate

    But it's very outdated...

    htf_report:

    https://pastebin.com/3ztMKJqw

    lsb_release -a

    Code:
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 22.04.3 LTS
    Release:        22.04
    Codename:       jammy
    php -v
    Code:
    PHP 8.2.8 (cli) (built: Jul  8 2023 07:10:21) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.2.8, Copyright (c) Zend Technologies
        with Zend OPcache v8.2.8, Copyright (c), by Zend Technologies
    BTW.. I'm new to Linux, so be noob friendly :)

    Thanks

    // Thomas
     
    Last edited: Aug 13, 2023
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You just have to enable gzip in your web server, that#s not ISPConfig specific and you do not have to enable it in ISPConfig. For Apache, you probably just have to run:

    Code:
    a2enmod deflate
    service apache2 restart
    on Debian and Ubuntu.
     
  3. Taxick

    Taxick Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the link you posted above, might be that you have to explicitly enable mod_defflate for the mime type that you are testing. I've updated the restart commands in that guide btw. All other parts were still up to date.
     
  5. Taxick

    Taxick Member

    Hi :)
    Thanks, I will try...
     

Share This Page