If this is a perl question, you might wanna look at using the module
Compress::Zlib, which is available from
CPAN.
If it isn't a perl question, start by typing gzip -h on the command line of your server. :)
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.