mod_gzip: DECLINED:HAS_CE

This is a discussion on mod_gzip: DECLINED:HAS_CE within the Apache Web Server forums, part of the Web Server and Related Forums category; HI all , I installed mod_gzip module in my apache , I added the following lines to httpd.ini file . LoadModule gzip_module ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-22-2007
Prasad
 
Posts: n/a
Default mod_gzip: DECLINED:HAS_CE

HI all ,

I installed mod_gzip module in my apache ,
I added the following lines to httpd.ini file .

LoadModule gzip_module modules/mod_gzip.so
<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_minimum_file_size 300
mod_gzip_maximum_file_size 0
mod_gzip_keep_workfiles Yes
mod_gzip_temp_dir "/tmp"
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.php$
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_include file \.css$
mod_gzip_item_include file \.js$
mod_gzip_item_exclude mime ^image/.*
mod_gzip_command_version mod_gzip_version
mod_gzip_dechunk Yes
</IfModule>
# End of mod_gzip.

And apache is also running safely now ..


It's compressing .js files , .html files properly .

But ,
when I request .php pages,

*** *************(for some php pages ),
I found in "gzip.log" file that

59.162.197.108 - - [22/Jan/2007:18:17:00 +0530] "GET /home.php
HTTP/1.1" 200 13590 mod_gzip: DECLINED:HAS_CE In:0 Out:0 Ratio:0pct.

,and browser is displaying nothing .

I checked the response headers and content from web-sniffer.net , link
is :

http://web-sniffer.net/?url=http%3A%...iffer%2F1.0.24

Headers seem to be okay , but it says that "Content (encoded: 10.63 KiB
/ decoded: 0.00 KiB)" and does n't show any content ..

*** *************( And for some other .php pages ),
I found in "gzip.log" file that

59.162.197.108 - - [22/Jan/2007:18:19:04 +0530] "GET
/teamkollab/groups.php HTTP/1.1" 302 12249 mod_gzip: DECLINED:HAS_CE
In:0 Out:0 Ratio:0pct.

, and IE browsers say "Page cant'be displayed" and mozilla browser is
asking to save the .php file (it's an empty file )

For the response headers and content from web-sniffer.net , the link
is


http://web-sniffer.net/?url=http%3A%...iffer%2F1.0.24
Headers and even the content seem to be okay .. it says "Content
(encoded: 1.96 KiB / decoded: 6.45 KiB)"
and shows the dynamic content . Though it shows the proper content, the
browser is unable to display it .



What could be the problem? , please help me ..


Thanks in adavnce

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0