Some additional info I found on this:
It seems that combination of mod_deflate and mod_jk is causing the issue. I 
have mod_deflate enabled on apache for css, js files etc. I tried getting a css 
file directly from apache httpd and it didn't have any problems, but if the css 
and js files are in tomcat, apache always seem to append some bytes in the 
message body when there is a 304 response.


----- Original Message ----
From: Eqbal <eqb...@yahoo.com>
To: users@tomcat.apache.org
Sent: Friday, March 6, 2009 3:51:24 PM
Subject: mod_jk and 304


I have tomcat running behind apache http server 2.0 using mod_jk. I have 
noticed that this causes any response to request for files in tomcat that 
return a 304 status code, to also have a 20 byte message body attached to the 
response. This causes our load balancer to think this is an error as according 
to rfc2616 304s must NOT contain any message body.

If I directly go to file in docroot of the webserver, there is no problem, but 
if files are requested from tomcat via mod_jk,  it is causing issues.

Anyone faced this issue?
I am using tomcat 5.5.16, with apache 2.0.59 on suse linux 9.

Thanks


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to