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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to