httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Looking for some help...
Date Fri, 19 Aug 2005 16:41:29 GMT
Joe Orton wrote:
> 
> On Fri, Aug 19, 2005 at 05:24:06PM +0100, Joe Orton wrote:
> > On Fri, Aug 19, 2005 at 12:10:11PM -0400, Jim Jagielski wrote:
> > > Now I also have in proxy.conf.in:
> > > 
> > >   <IfModule mod_proxy_balancer.c>
> > > 
> > >    <VirtualHost _default_:mod_proxy_balancer>
> > >      <Proxy balancer://foo>
> > >        BalancerMember http://proxy_http_bal1  loadfactor=1
> > >        BalancerMember http://proxy_http_bal2  loadfactor=1
> > >      </Proxy>
> 
> I tweaked Apache::Test to make this possible: try
> 
>       <VirtualHost proxy_http_bal1>
>           ...
>       </VirtualHost>
> 
>       <VirtualHost mod_proxy_balancer>
>         <Proxy balancer://foo>
>            BalancerMember http://@SERVERNAME@:@PROXY_HTTP_BAL1_PORT@ ...
> 
> etc - you must ensure that the referenced vhost is defined before you 
> use the corresponding _PORT variable; i.e. put them in the same .conf.in 
> file in that order.
> 

YES!

Thanks! :)

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                     "Sith happens"  -  Yoda

Mime
View raw message