cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McKibben <mmckib...@ncube.com>
Subject Re: Redirection
Date Mon, 29 Oct 2001 18:30:27 GMT
Could you use the redirect-to to hit the proxy url in your Apache
configuration? I.e.

(in sitemap)
<map:match pattern="/xxx**">
<map:redirect-to uri="/proxy/xxx{1}">

(in http.conf)
ProxyPass /proxy/xxx http://server1:8080/xxx
ProxyPassReverse /proxy/xxx http://server1:8080/xxx

Regards,

--mike

On Mon, 29 Oct 2001 reinhard_poetz@gmx.net wrote:

>
> The Apache Webserver provides a proxy module. This module enables the
> redirection of URLs in the background (the user who enters the URL in his browser
> will not know that this request is served by another web server) - for
> example:
>
> ProxyPass /xxx  http://server1:8080/xxx
> ProxyPassReverse /xxx http://server1:8080/xxx
>
> I want to achive the same result but I want to use Cocoon2 because I need
> some actions (Session-Validation) that have to be executed before the request
> is redirected (in the background).
>
> I know <map:redirect-to uri="..."/> - but it is only the half way ...
> (equivalent if you only use "ProxyPass /xxx  http://server1:8080/xxx" at the Apache
> Webserver - without the ProxyPassReverse line).
>
> If you use the resource-reader you have the problem that the
> request-paramters get lost.
>
> Are there any other suggestions?
>
> Best regards,
> Reinhard Pötz
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message