Reinhard Pötz wrote: > > Is there any possibility to use Cocoon as proxy?
Hmmm, not in the HTTP/1.1 sense. > I have some "old" > applications (written in PHP) that I want to use in combination with cocoon > (I want to use some actions) > > for example: > > <map:match pattern="old_application/**"> > <map:act type="checkSession"/> > <map:proxy src="http://old_application_server/{1}"/> > </map> > <map:redirect-to uri="login.html"/> > </map:match> > > Currently I solved the problem by using the HTML-generator but if I use it > the header information of the client will get lost. Try using a Reader: <map:match pattern="old_application/**"> <map:act type="checkSession"/> <map:read src="http://old_application_server/{1}"/> </map> </map:match> but I'm not sure it's fully action-safe since I don't know of anybody using it for this. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. <[EMAIL PROTECTED]> Friedrich Nietzsche -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]