I have a server with Centos6, Apache2.2,
mod_deflate
,mod_filter
etc enabled.. But I dont see any compression. I have tried all combinations of filter and mod commands that is on the internet for mod_deflate. It only works on local machine but not on server.Furthermore, I see that the apache environment on server has the following:
HTTP_ACCEPT_ENCODING = gzip
While on local its,
gzip,deflate,sdch
So how to solve this issue?
Answer
You mention you have tried all commands you can find could you be more specific on what commands?
Have you tried sudo /sbin/service httpd restart
?
Attribution
Source : Link , Question Author : Raheel Hasan , Answer Author : Jordan Street