httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
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 extra.conf.in
I have:

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

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

to define the 2 balanced proxies

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>

      ProxySet balancer://foo lbmethod=bytraffic

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

    </VirtualHost>
   </IfModule>

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?


Mime
View raw message