In fact, I want that a call to http://reverseproxy/srv1/ would be answered
by the server at the address http://real_server/ which is under the reverse
proxy.

The pages to serve on "real_server" are at the root of the server and not in
the "srv1" directory.

Thanks for help.
Laurent

-----Message d'origine-----
De: Graham Leggett [mailto:[EMAIL PROTECTED]
Date: jeudi 10 janvier 2002 17:28
�: [EMAIL PROTECTED]
Objet: Re: Problem with ProxyPassReverse


"LEBRETON Laurent (IFATEC)" wrote:

> 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

(Unless I have misunderstood you) this is exactly what you have asked
the server to do.

If you want /svr1/ to map to reverseproxy/svr1/ you must do this:

ProxyPass /srv1/ http://real_server1/srv1/
ProxyPassReverse /srv1/ http://real_server1/srv1/

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."

Reply via email to