Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to enable GZIP throughout my whole website. What would be the best way to do it? Would it be through .htaccess?

Any pointers on how to do this would be greatly appreciated.

share|improve this question
    
Possible duplicate: serverfault.com/questions/21447/apache-gzip-configuration/… –  squircle Jun 4 '10 at 19:38
add comment

1 Answer

See the documentation for mod_deflate.

http://httpd.apache.org/docs/2.0/mod/mod_deflate.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.