a brief hint about setting up apache 2.2’s mod_proxy_balancer with a mongrel cluster.
if you receive a permission error, “client denied by server configuration” when accessing your apache install, check the proxy configuration. in this case that means the proxy balancer configuration. an example working config:
<Proxy balancer://mongrel_cluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
Order deny,allow
Deny from all
Allow from all
</Proxy>
the key is the last 3 lines, Order…, Deny…, and Allow….
this usually comes from a more general proxy permissions config:
<Proxy *>
Order deny,allow
Deny from all
</Proxy>
this protects against other kinds of proxy support in apache being publicly accessible, and is a good thing. so leave that in place, and just specifically allow access to the balancer proxy.