Mod_gzip help


I’m interested in getting mod_gzip working on my webpage, but a google search hasn’t shown up how to configure it… DreamHost advertise it as being installed, checking the server says it’s there, but given my pages aren’t being sent gzipped I have a feeling I am missing how you enable/configure it.

How do you get mod_gzip working? I want to make my pages download as fast as I can :slight_smile:


I’ve placed the following in a .htaccess-file in order to enable mod_gzip.


mod_gzip_item_include mime ^text/.*
mod_gzip_item_exclude mime ^application/pdf$

You can read a short tutorial about mod_gzip here: Compressing Web Output Using mod_gzip for Apache 1.3.x and 2.0.x.

[color=#000000]DreamHost Promo Code[/color]: [color=#CC0000]Save $50[/color] with the promo code DREAMTEAM


Still no luck… I read through that site and can’t figure it out either. I guess I’d better give some more information too, if it might help:

actual website:
/ chmod:744, contents:

mod_gzip_item_include mime ^text/.*
mod_gzip_item_exclude mime ^application/pdf$
mod_gzip_item_exclude mime ^image/.*$
ErrorDocument 403 /forbidden.html
ErrorDocument 404 /missing.html
ErrorDocument 500 /scripterror.html

example file: / chmod:777

I’ve been testing it with a handful of online gzip checkers, one such one being at They always show up negative, though.

What am I doing wrong? :blush: