httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Looking for some help...
Date Fri, 19 Aug 2005 16:10:11 GMT
I am trying to add a test for the proxy balancer stuff. In
I have:

   <IfModule mod_proxy_balancer.c>
      <VirtualHost proxy_http_bal1>
         DocumentRoot @SERVERROOT@/htdocs/modules/proxy

      <VirtualHost proxy_http_bal2>
         DocumentRoot @SERVERROOT@/htdocs/modules/proxy

to define the 2 balanced proxies

Now I also have 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

      ProxySet balancer://foo lbmethod=bytraffic

      <Location /baltest>
        ProxyPass balancer://foo/


Now, the rub is that those 2 BalancerMember lines (http:// ...)
should actually have the url for the 2 balanced proxies
(localhost:port)... But I can't for the life of me figure
out how to obtain what the auto-gen'ed port numbers for those
2 balanced vhosts will be.

Any ideas?

View raw message