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:
But no result.
After that I type in this command:
And it gave the result for the mod deflate:
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
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
After that I type in this command:
Code:
apachectl -t -D DUMP_MODULES |grep 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