[Mod_gzip] PHP 4.1.1 + Apache 2.0.43 + Winnt + mod_gzip => DECLINED:EXCLUDED in case of .php

mod_gzip@lists.over.net mod_gzip@lists.over.net
Fri, 13 Dec 2002 18:27:44 +0100


Hello All,

I've implemented the above described infrastructure and installed mod_gzip to apache. It works fine in case of html, htm, but 'DECLINED:EXCLUDED' in case of php.
I've tried everything yet with httpd.conf, but I get everytime the next in my log:

132.83.36.113 - - [13/Dec/2002:18:13:19 +0100] "GET /crm/client/client_favorite_details.php?client_id_get=5 HTTP/1.1" 200 45633 mod_gzip: DECLINED:EXCLUDED In:- Out:- Ratio:-pct.

conf:

<IfModule mod_gzip.c>
    # LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info1
    LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n Ratio:%{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info2
    # LogFormat "%{mod_gzip_compression_ratio}npct." mod_gzip_info1
    # LogFormat "%{mod_gzip_result}n In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n Ratio:%{mod_gzip_compression_ratio}npct." mod_gzip_info2
    # CustomLog logs/gzip.log mod_gzip_info2
    CustomLog logs/gzip.log common_with_mod_gzip_info2
    mod_gzip_on Yes
    mod_gzip_dechunk yes
    mod_gzip_temp_dir "C:/Inetpub/Temp"

    mod_gzip_item_include file \.html$
    mod_gzip_item_include file \.htm$
    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$
</IfModule>

It partly works,when I add only mod_gzip_item_include mime application/ without x-httpd-php .

I haven't got more idea.

Zoltan



------------------------------------------------------------- ---
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.