I searched and found someone got the same problem 1 year ago:<br><a href="http://rubyforge.org/pipermail/mongrel-users/2006-December/002594.html">http://rubyforge.org/pipermail/mongrel-users/2006-December/002594.html</a><br>
But it seams he finally used the ProxyPass instead of RewriteRule, and did not actually solve the problem.<br><br>I hope my solution will give some possibility to fixing the same problem.<br><br><div class="gmail_quote">On Dec 13, 2007 11:57 AM, $B<kGn(B &lt;
<a href="mailto:zhubo03@gmail.com">zhubo03@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">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 &quot;Forbidden, You don&#39;t have permission to access / on this server.&quot;<br><br>Finally, I added the &quot;Allow from all&quot; property (in the vhost config file), just like this:
<br><div style="margin-left: 40px;">&lt;Proxy balancer://mongrel_cluster&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BalancerMember <a href="http://127.0.0.1:8001" target="_blank">http://127.0.0.1:8001</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BalancerMember <a href="http://127.0.0.1:8002" target="_blank">
http://127.0.0.1:8002
</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BalancerMember <a href="http://127.0.0.1:8003" target="_blank">http://127.0.0.1:8003</a><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>&lt;/Proxy&gt;<br></div>then the &quot;Forbidden&quot; problem was solved.
<br>The &quot;all&quot; could not be changed to &quot;<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>&quot; or others. I guest this should be related with the implement detail of the mod_rewrite.<br><br>My question is, could this &quot;Allow from all&quot; 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>
</blockquote></div><br>