Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new in apache balancing stuff.

I'm reading the docs in link text

<Proxy balancer://mycluster >

ProxyPass /test balancer://mycluster/ 
  1. to start where do I put the above configuration (I mean, in wich file, vhost? httpd.conf?):
  2. How do make it work?


share|improve this question
up vote 3 down vote accepted

you put it in your vhost configuration. as below:

<VirtualHost *:80>
  <Proxy balancer://lb>
     BalancerMember timeout=10s 
     BalancerMember timeout=10s 
  ProxyPass /lb/ balancer://lb

  <Proxy balancer://fo>
     BalancerMember timeout=10s 
     BalancerMember timeout=10s status=+H
  ProxyPass /fo/ balancer://fo

first one is for 50-50 load balancer, second one - one dedicated master [ preferred server ], another - hot standby to which requests are sent only when master is down.

share|improve this answer
I put that, but no redirections aways the same address, I restart apache without errors! any thing I should do more? – Pedro Aug 27 '09 at 14:00
@pcamacho - i assume you have necessary modules loaded..,, make sure it's not your browser's cache playing tricks on you - disable/clean it. – pQd Aug 27 '09 at 14:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.