Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was trying to use the mod_proxy_balance module of apache to setup a loadbalancer for 2 webservers in the background. I thought I successfully did. Here's what happened:

  1. My proxy is in abcd.edu. I enabled abcd.edu/test to be redirected to 2 webservers abc.edu/PHP and acb.edu/PHP.

  2. Now if I enter abcd.edu/test in my address bar, I am able to reach those webservers. But I cannot access any page beyond it. eg If I enter abcd.edu/test/star.jpg . It says Internal server error. It is misconfigured. If I enter abc.edu/PHP/star.jpg , I am able to access it.

I followed this tutorial to setup the mod_proxy_balance.

Can you please let me know what exactly I am doing wrong?

share|improve this question
1  
Config files or it didn't happen. –  Janne Pikkarainen Jun 9 '11 at 6:37
    
In the client side, My program gives Connection Time out. The load balancer error logs give : do_ypcall: clnt_call: RPC: unable to send;errno = Operation not permitted –  sethu Jun 9 '11 at 15:57
    
Can you post the relevant portion of your httpd.conf configuration that contains your proxy directives? –  mahnsc Jun 11 '11 at 21:23
    
<IfModule mod_proxy_balancer.c> <Proxy balancer://hgcc13.org> BalancerMember hgccvm90.org loadfactor=1 BalancerMember hgccvm92.org loadfactor=1 </Proxy> <Location /> ProxyPass balancer://hgcc13.org/ </Location> </IfModule> –  sethu Aug 19 '11 at 3:41
add comment

1 Answer

up vote 1 down vote accepted

Problem solved! I just disabled the firewall at the proxy !!

share|improve this answer
add comment

Your Answer

 
discard

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.