www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Skeggs <RSKE...@mobius.com>
Subject RE: FW: proxy with a specific source IP?
Date Wed, 09 Jun 2004 14:17:41 GMT
Billiant...thanks a lot that is it works beautifully

Thank you

Richard


-----Original Message-----
From: Geff [mailto:geff@pier64.com] 
Sent: 09 June 2004 15:00
To: modproxy-dev@apache.org
Subject: Re: FW: proxy with a specific source IP?


Since I don't understand what you're trying to accomplish perhaps I'm
completely off base here, but why don't you want:

<virtualhost 10.14.1.150>
    DocumentRoot "/usr/local/apache2/htdocs"
    ProxyPassReverse /esav http://eghsnap1:8081/esav
    ProxyPass /esav http://eghsnap1:8081/esav
    ProxyPassReverse /ddrint http://eghsnap2:8081/ddrint
    ProxyPass /ddrint http://eghsnap2:8081/ddrint
    servername www.emeademo.mobius.com
</virtualhost>

instead of what you have?  I wasn't aware that you could define a virtual
host twice.

Geff

Quoting Richard Skeggs <RSKEGGS@mobius.com>:

>
> I am using apache2 to try and map
>
> http://eghapp/esav  to  http://eghsnap1:8081/esav http://eghapp/ddrint  
> to  http://eghsnap2:8081/ddrint
>
> In isolation both maps work as expected but when I try and set up both 
> together the problem I am faced with is that only the first map works 
> successfully. My problem is I need to set up a two more of these 
> mapping. Below is an extract from my httpd.conf file.
>
>
> Httpd.conf extract
>
> NameVirtualHost 10.14.1.150
>
> <virtualhost 10.14.1.150>
>     DocumentRoot "/usr/local/apache2/htdocs"
>     ProxyPassReverse /esav http://eghsnap1:8081/esav
>     ProxyPass /esav http://eghsnap1:8081/esav
>     servername www.emeademo.mobius.com
>     serverpath /esav/
> </virtualhost>
>
> <virtualhost 10.14.1.150>
>     DocumentRoot "/usr/local/apache2/htdocs"
>     ProxyPassReverse /ddrint http://eghsnap2:8081/ddrint
>     ProxyPass /ddrint http://eghsnap2:8081/ddrint
>     servername www.emeademo.mobius.com
>     serverpath /ddrint/
> </virtualhost>
>
> Thanks
>
> Richard
>
>
> -----Original Message-----
> From: Geff [mailto:geff@pier64.com]
> Sent: 08 June 2004 19:24
> To: modproxy-dev@apache.org
> Subject: Re: proxy with a specific source IP?
>
>
> Quoting Richard Birkett <richard-apache@musicbox.net>:
> > It should apply cleanly to recent checkouts of 2.0 (with a few lines 
> > offset).
>
> Thanks much.  More reason to go to 2.0 :).
>
> Geff
>
>



Mime
View raw message