Install And Configure mod_deflate On CentOS 7

Hello Guys

I am just need some help to get my Install mod_deflate On CentOS 7 working on my Server

Here is the information

To verify whether mod_deflate is enabled or not, run the following command:
httpd -M | grep deflate

Command no: apachectl -t -D DUMP_MODULES |grep deflate

Out put >> deflate_module (shared)

[root@ns2 ~]# LoadModule deflate_module modules/
-bash: LoadModule: command not found

information in deflate


<filesMatch “.(js|html|css)$”>
SetOutputFilter DEFLATE

DeflateCompressionLevel 7
DeflateMemLevel 8
DeflateWindowSize 10


/etc/httpd/modules/ Also, the web server should be able to open this file. For this purpose should have world readable permissions such as 755.

Open the Apache base modules configuration file /etc/httpd/conf.modules.d/00-base.conf and ensure this line is present and not commented ou


I did not see this file

LoadModule deflate_module modules/

I am adding this to httpd config file

Let me know if anyone have any success running this mod on centos 7

I am not sure issue is with virtualmin or any other setting effecting this mod to work