# Tell apache to use mongrel cluster

**URL:** <https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652>\
**Category:** Deployment\
**Created:** [December 10, 2007, 12:05pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652 "2007-12-10T12:05:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 12:05pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652/1 "2007-12-10T12:05:58Z")

</div>

i have successfully deployed my app and the mongrel cluster is running  
… the problem i have no is that i cannot access the app via a browser  
… it always shows me the start page of apache …  
how do i say it should use the mongrel cluster instead?

thanks for any help…  
greetings from vienna

---

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652/2 "2007-12-10T15:36:04Z")

</div>

Hi Michal,  
You need to configure proxy balancer and the appropriate rewrite rules.

This blog post is one of the best sources for that information.

[http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/](http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/)

Regards,  
John

---

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652/3 "2007-12-10T17:39:25Z")

</div>

john thanks for the reply …  
is the balancer a must? because i did follow everything which is  
mentioned in the agile development book and they dont talk about the  
balancer…

---

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652/4 "2007-12-10T21:06:43Z")

</div>

many many thanks … it worked with this nice blog entry.  
john you were right its a good one …

---

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652/5 "2007-12-10T19:34:05Z")

</div>

The balancer isn’t completely necessary. You can use the ProxyPass or  
ProxyReverse (I don’t recall the exact config settings right now) to  
proxy  
all the requests to a single mongrel instance. However, this setup  
won’t  
really do well in a production environment - you’ll want a balancer and  
mongrel\_cluster eventually.

Dave

On Dec 10, 2007 9:39 AM, Michal G. \<
