htaccess mod_deflate

Web hosting discussion, programming, and shared and dedicated servers.
3 posts Page 1 of 1
by emaesen » Mon Jan 27, 2014 10:21 pm
I'd like to enable compression of my web page resource and have added the following to my .htaccess file:

Code: Select all

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule>
However it has no effect and when I leave out the IfModule tags, I receive a 500 error suggesting that mod_deflate is not enabled.

Is there a way to compress (gzip) my web page resources?
by hallel » Tue Jan 28, 2014 10:46 pm
I have the same question.
by penql » Wed Feb 25, 2015 7:01 pm
Me too, same question.
3 posts Page 1 of 1