You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "cisiodon.com.br - Mail Host - Listserv" <in...@cisiodon.com.br> on 2002/07/29 15:19:55 UTC

PHP and mod_gzip

Hello,

Win 2K server
Apache 1.322
PHP
PERL
CGI
All run ning ok !

I instaled mod_gzip as .DLL and module gzip.c, and testing configutation is ok !

So, do i need make any modifications to make its work ?

Miguel
Mail-host Cisiodon.com.br

http://www.cisiodon.com.br
http://www.netforum.com.br





---
Outgoing mail is certified Virus Free.

Certified by  Argosoft Mail Server Pro

http://www.cisiodon.com.br
Http://www.netforum.com.br
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002

RE: PHP and mod_gzip

Posted by Takacs Istvan <is...@hungax.com>.
Hi,

> I instaled mod_gzip as .DLL and module gzip.c, and testing configutation
is ok !
> So, do i need make any modifications to make its work ?

<IfModule mod_gzip.c>
       mod_gzip_on Yes
       mod_gzip_minimum_file_size  1002
       mod_gzip_maximum_file_size  0
       mod_gzip_maximum_inmem_size 60000
       mod_gzip_item_include mime "application/x-httpd-php"
       mod_gzip_item_include mime text/*
       mod_gzip_item_include mime "httpd/unix-directory"
       mod_gzip_dechunk Yes
       mod_gzip_temp_dir "/tmp"
       mod_gzip_keep_workfiles No
       mod_gzip_item_include file "\.xpo$"
       mod_gzip_item_include file "\.txt$"
       mod_gzip_item_include file "\.html$"
       mod_gzip_item_include file "\.htm$"
       mod_gzip_item_include file "\.xml$"
       mod_gzip_item_exclude file "\.css$"
       mod_gzip_item_exclude file "\.js$"
</IfModule>

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
mod_gzip: %{mod_gzip_compression_ratio}npct." full_plus_gzip

CustomLog /var/log/httpd/access_log full_plus_gzip

Regards;

		Istvan



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org