mod_deflate has replaced Apache 1.3’s mod_gzip in Apache2

On the LoadModule Section in the httpd.conf file
1) LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so

Adjust the module’s path..

2) If you wish to compress HTML, text, and XML files only add the following
AddOutputFilterByType DEFLATE text/html text/plain text/xml

3) Restart apache
/etc/init.d/apache2 restart


More Details here http://www.howtoforge.com/apache2_mod_deflate











Powered by ScribeFire.