• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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