Reputation: 4607
I know this has been asked a lot, but, believe me, is not duplicate ;)
I have a Linux server (CentOS 6.4) with Apache 2.2.15 Installed.
What do I have?
I have this line in /etc/httpd/conf/httpd.conf :
LoadModule deflate_module modules/mod_deflate.so
I have this line in my .htaccess file :
SetOutputFilter DEFLATE
And I tried the other versions of enabling mod_deflate in .htaccess, too.
And this is my phpinfo()
screenshot :
But there is not this header in my response :
Content-Encoding : gzip
Any Idea?
Upvotes: 1
Views: 1263
Reputation: 4607
Look at httpd.conf
, Make sure you have
<Directory /PATH/TO/YOUR/APP>
AllowOverride All
</Directory>
Upvotes: 1