I started the mongrel_cluster and tried to use the RewriteRule to forward the requests to proxy_balancer just as the <a href="http://mongrel.rubyforge.org/docs/apache.html">http://mongrel.rubyforge.org/docs/apache.html</a>
said.<br>When I visited my site from a remote computer, I always got the error messages "Forbidden, You don't have permission to access / on this server."<br><br>Finally, I added the "Allow from all" property (in the vhost config file), just like this:
<br><div style="margin-left: 40px;"><Proxy balancer://mongrel_cluster><br> BalancerMember <a href="http://127.0.0.1:8001">http://127.0.0.1:8001</a><br> BalancerMember <a href="http://127.0.0.1:8002">http://127.0.0.1:8002
</a><br> BalancerMember <a href="http://127.0.0.1:8003">http://127.0.0.1:8003</a><br><br> Order allow,deny<br> Allow from all<br></Proxy><br></div>then the "Forbidden" problem was solved.
<br>The "all" could not be changed to "<a href="http://127.0.0.1">127.0.0.1</a>" or others. I guest this should be related with the implement detail of the mod_rewrite.<br><br>My question is, could this "Allow from all" be a latent security problem? and is there anybody faced the same issue?
<br>Could I miss something through the configuration or did the mongrel-apache document miss something?<br><br>I am sorry my English is not very good.<br><br>Best wishes everyone,<br><br>Alfie ZHU<br>