• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Mod_deflate not found

Arbarwings

New Pleskian
Hi,

I was testing my website on the Google PageSpeed Insights website. It gave a result that I have to enable compression. I found some tutorials for enabling mod_deflate with Apache2.
First I added the necessary lines in the .htaccess.
And immediately I had a problem with following the tutorial, I had to make sure that mod_deflate is written in the httpd.conf file, but it wasn't.
I tested it with this command:
Code:
grep 'mod_deflate' /etc/httpd/conf/httpd.conf
But no result.

After that I type in this command:
Code:
apachectl -t -D DUMP_MODULES |grep deflate
And it gave the result for the mod deflate:
Code:
deflate_module (shared)

Also I checked if the module was enabled in Plesk Apache settings, and it was enabled.

I tested my website again, also with some other sites, but the result was that the mod_deflate is not enabled. How can I config the mod_deflate that it will work for all domains?

My server specifications:
12.5.30 Update #9
CensOs 7
 
Back
Top