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)

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

information in deflate

/etc/httpd/conf.d/mod_deflate.conf

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

DeflateCompressionLevel 7
DeflateMemLevel 8
DeflateWindowSize 10

Permission

/etc/httpd/modules/mod_deflate.so. Also, the web server should be able to open this file. For this purpose mod_deflate.so 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

done

I did not see this file

LoadModule deflate_module modules/mod_deflate.so

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

Thanks

Paul
Pcpluscomputing.com