0 Members and 2 Guests are viewing this topic.
Reason is this line:[root@mail ]# cat -n /opt/configs/apache/tpl/defaults.conf.tpl| grep deflate 61 exec("sed -i 's/^LoadModule deflate_module/#LoadModule deflate_module/' {$trgtcmdpath}/00-base.conf");@mustafa, i think he should create /opt/configs/apache/tpl/custom.defaults.conf.tpl where that line is commented out, then remove the uncomment it from:[root@mail ]# cat -n /etc/httpd/conf.modules.d/00-base.conf| grep deflate 30 #LoadModule deflate_module modules/mod_deflate.soFinally run sh /scripts//restart-web @mustafa, i think i make sense to disable deflate_module when Apache is behind a proxy(Nginx or Hiawatha proxy) since at least Nginx proxy does it:[root@mail linuxwonders]# grep -ri 'gzip on' /opt/configs/nginx/conf/*/opt/configs/nginx/conf/globals/gzip.conf: gzip on;
Page created in 0.033 seconds with 18 queries.