mod_gzip: DECLINED:HAS_CE
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > mod_gzip: DECLINED:HAS_CE




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    mod_gzip: DECLINED:HAS_CE  
Prasad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-07 06:17 PM

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}np
ct."
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...F1.0.2
4

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...r />
fer%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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register