Proxy Balancer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a proxy Balancer set up like this:

<Proxy balancer://vsBalancer>
        BalancerMember http://192.168.200.206 loadfactor=20 status=D
        BalancerMember http://192.168.200.212 loadfactor=20 status=D
        BalancerMember http://192.168.200.182 loadfactor=100 status=D
        BalancerMember http://192.168.200.190 loadfactor=100
        ProxySet lbmethod=bytraffic
</Proxy>
ProxyPass / balancer://vsBalancer/
<Location />
 ProxyPassReverse /
</Location>

I want all requests the this balancer machine to be handled by 1 of the 4 machines in the balancer. (I have 3 of them disabled for some further testing, so its basically just a single reverse proxy).

I have 3 problems.
  1. Host information is not passed to the balancer member, which means I can't have virtual hosts set up on the balancers? How do I do this?  (currently the default virtual host is picking everything up)
  2. I'm having a problem with the reverse proxy and mod_dir. Currently if request "www.example.com/whatever" I'm getting rewritten to 192.168.200.190/whatever/ which is obviously not a public address and won't resolve. This happens whether or not I have mod_dir enabled on the balancer server or not. I thought that the ProxyPassReverse was supposed to re-write.
  3. Also, i have a ton of rewrites that happen on each of the balancer members, do those need to take place on the balancer server machine instead? or can they remain on the balancer member machines and be re-written with ProxyPassReverse?
Thanks in advance.

Tanner

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux