You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "LEBRETON Laurent (IFATEC)" <la...@IFATEC.fr> on 2002/01/10 18:04:30 UTC

Problem with ProxyPassReverse

Hi!

I try to set up a reverse proxy with Apache in order to serve different
servers with only one IP address.

My httpd.conf looks like that : 

ServerName reverseproxy
ProxyRequests Off
ProxyPass /srv1/ http://real_server1/
ProxyPassReverse /srv1/ http://real_server1/

The problem appears when "real_server1" is a Domino server or serves ASP
pages :
the answer is at the adress http://reverseproxy/
instead of http://reverseproxy/srv1

I would be very pleased by some help.

Thank a lot.

Laurent

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: Problem with ProxyPassReverse

Posted by Joshua Slive <jo...@slive.ca>.
> From: LEBRETON Laurent (IFATEC) [mailto:lalebret@IFATEC.fr]

>
> I try to set up a reverse proxy with Apache in order to serve different
> servers with only one IP address.
>
> My httpd.conf looks like that :
>
> ServerName reverseproxy
> ProxyRequests Off
> ProxyPass /srv1/ http://real_server1/
> ProxyPassReverse /srv1/ http://real_server1/
>
> The problem appears when "real_server1" is a Domino server or serves ASP
> pages :
> the answer is at the adress http://reverseproxy/
> instead of http://reverseproxy/srv1

Your question is not at all clear.  What does "the answer" mean?  What
EXACTLY do you expect to happen, and what is actually happening?

ProxyPassReverse only rewrites Location: headers (that is, server-side
redirects), not links.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org