note 12724 deleted from function.ob-gzhandler by jimw

From: Date: Fri, 21 Dec 2001 00:46:54 +0000
Subject: note 12724 deleted from function.ob-gzhandler by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23694@lists.php.net to get a copy of this message
An alternative to ob_gzhandler is to let Apache do all the work. mod_gzip, as of version 1.3.19.1a can do compression of external CGI, and mod_xxxx (mod_php) apache module output. Get mod_gzip from http://www.remotecommunications.com/apache/mod_gzip/ here is an example httpd.conf setup: AddModule mod_gzip.c <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_minimum_file_size 300 mod_gzip_maximum_file_size 0 mod_gzip_maximum_inmem_size 100000 mod_gzip_keep_workfiles No mod_gzip_temp_dir /tmp mod_gzip_item_include file \.html$ mod_gzip_item_include file \.jsp$ mod_gzip_item_include file \.php$ mod_gzip_item_include file \.pl$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-httpd-php mod_gzip_item_include mime ^httpd/unix-directory$ mod_gzip_item_include handler ^perl-script$ mod_gzip_item_include handler ^server-status$ mod_gzip_item_include handler ^server-info$ mod_gzip_item_exclude mime ^image/.* </IfModule>

« previous php.notes (#23694) next »