mod_gzip and/or PHP zlib compression
Posted by: tonycpsu
Posted on: 2005-12-06 18:36:00
I would like to take advantage of Apache's mod_gzip functionality, but I can't seem to configure it here on Dreamhost. I had it working at my last host with the following in my .htaccess:
<FilesMatch ".(php|html?)$">
php_value zlib.output_compression 4096
php_flag zlib.output_compression "On"
php_flag zlib.output_compression_level 1
</FilesMatch>
This doesn't work. I also tried adding this, based on a forum search here:
mod_gzip_item_include mime ^text/.*
mod_gzip_item_exclude mime ^application/pdf$
This also didn't make it happen. This is on PHP4 as CGI. Can anyone provide guidance as to how to make this work?
Edited by tonycpsu on 12/06/05 06:38 PM (server time).