cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aron Shamash" <>
Subject RE: Need an alternative to cocoon.redirectTo()
Date Wed, 01 Mar 2006 12:18:12 GMT
Hi Giacomo

Thanks for your suggestion. We tried:

ErrorDocument 302 /error/error_302.html

& made the error_302.html bigger than 512 bytes but now when a 302 is
sent it displays this error_302.html error page - which is not want we

The link you sent (
<>  ) has
the problem we are experiencing :

Microsoft Internet Explorer (MSIE) will by default ignore
server-generated error messages when they are "too small" and substitute
its own "friendly" error messages. The size threshold varies depending
on the type of error, but in general, if you make your error document
greater than 512 bytes, then MSIE will show the server-generated error
rather than masking it. More information is available in Microsoft
Knowledge Base article Q294807.

Problem seems to be that by added a 302 error page it just displays this
We are not using mod_proxy BTW not sure if this is a problem.
Any other ideas? Maybe am missing something..
Anyway what about the idea of changing all cocoon redirects to something
else? Could it be a solution?
Any ideas much appreciated

-----Original Message-----
From: [] On Behalf
Of Giacomo Pati
Sent: 28 February 2006 19:13
Subject: Re: Need an alternative to cocoon.redirectTo()

Hash: SHA1

On Tue, 28 Feb 2006, Aron Shamash wrote:

> Date: Tue, 28 Feb 2006 04:00:47 -0800
> From: Aron Shamash <>
> Reply-To:
> To:
> Subject: Need an alternative to cocoon.redirectTo()
> Hi
> I have a situation whereby I may need to change all uses of
> cocoon.redirectTo() in my flowscript to something which does not throw
> a
> 302 message.
> We have various instances of redirectTo() in the flow including the
> need to pass values on the querystring eg:
> cocoon.redirectTo("2.3.html?view=true");
> The background :
> *     The client is behind a Proxy server and there is a known bug in
> IE with SP2 in an SSL environment whereby for any error messages under
> 512 bytes, IE displays it's own "this page cannot be displayed" error
> page. This is happening for all 302 messages not just those generated
> by cocoon.redirectTo().

If your Cocoon sits behind an Apache HTTPD with mod_proxy use the

ErrorDocument 302 /error/HTTP_ERROR.html

Option of HTTPD to display a page bigger than 512 bytes:



- --
Giacomo Pati
Otego AG, Switzerland - Orixo, the XML business
alliance - -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message