Page 1 of 1

htaccess mod_deflate

Posted: Mon Jan 27, 2014 10:21 pm
by emaesen
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?

Re: htaccess mod_deflate

Posted: Tue Jan 28, 2014 10:46 pm
by hallel
I have the same question.

Re: htaccess mod_deflate

Posted: Wed Feb 25, 2015 7:01 pm
by penql
Me too, same question.