cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Need an alternative to cocoon.redirectTo()
Date Tue, 28 Feb 2006 19:12:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tue, 28 Feb 2006, Aron Shamash wrote:

> Date: Tue, 28 Feb 2006 04:00:47 -0800
> From: Aron Shamash <Aron.Shamash@dna.co.uk>
> Reply-To: users@cocoon.apache.org
> To: users@cocoon.apache.org
> 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:

http://httpd.apache.org/docs/2.0/mod/core.html#errordocument

HTH

Ciao

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

iD8DBQFEBKCqLNdJvZjjVZARAhDTAJ9fbXECoHVvTzdoo4gQpPPvb8TMhACgq/ZT
Je+pOgqsBqYpl5TkIOyyvII=
=7Yz4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message