How to configure mod_deflate?



Hi All,

I see in httpd.conf that mod_deflate is already enabled on my apache. But, how do I enable it so that my html pages are compressed?

Davy



Following text in httpd.conf would compress your html files using mod_deflate:

# compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
 
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>