Mod_gzip help


#1

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:


#2

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

gzip-compression

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


#3

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: http://www.riumplus.com
/riumplus.com/.htaccess 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: /riumplus.com/index.html chmod:777

I’ve been testing it with a handful of online gzip checkers, one such one being at http://www.whatsmyip.org/mod_gzip_test/. They always show up negative, though.

What am I doing wrong? :blush:


#4

See http://forum.dreamhosters.com/troubleshooting/34860-mod_gzip-and-or-PHP-zlib-compression.htm.