cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinhard_po...@gmx.net
Subject Re:Re: Redirection
Date Mon, 29 Oct 2001 20:04:42 GMT
the problem is that "server1" can't be reached from external clients (behind
a firewall) and therefore I need the "ProxyPassReverse"-mechanism of the
Apache-Webserver but within Cocoon2

example:
www.myserver.com/xxx should be internally redirected to server1:8080/xxx -->
server1:8080 can't be reached from outside

Regards,
Reinhard

> 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
> req
> uest
> > 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
> 

-- 
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


Mime
View raw message