tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhanisworo Dhanisworo" <ddha...@gmail.com>
Subject How do I do this with Tomcat?
Date Thu, 03 Jul 2008 09:16:59 GMT
Hi all
regarding  the problem I've posted before about IE showing balnk page, I've
found this article on how to deal with this issue.
http://qfox.nl/index.php?a=1&l=186&t=1
which said
"Now I know all of that is old IE 6 crap. In fact, I dismissed the page the
first time. But the second reply below contains a .htaccess line I
eventually ended up testing. And ... it worked. Low and behold, the problem
seemed to have disappeared (which is the problem with irradic bugs, you
don't know whether you fixed it or moved it).

Anyways, after that I found something on Apache about keepalive and POST and
how a POST request should not receive any more data after it's done. Well I
figured it out. IE was sending a keepalive header (even though I was
explicitly telling ajax to disable keepalive) and screwing it up in the
process. Apache waits for 90 seconds then timeouts and just decides to
proceed and discard all of the POST data. Apparantly my server is more
sensitive to this problem than my previous one.

This is my sollution:
<Limit POST>
SetEnv nokeepalive
</Limit>

This will disable keepalive for any POST request, but not change it for GETS
or whatever (which is not a problem because you're meant to close POST
requests anyways).
"

The problem ishow I do it with Tomcat ?
Can anybody help me ?
Thank you in advance.


best regards,Dyan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message