# Mongrel to Apache

**URL:** <https://www.ruby-forum.com/t/mongrel-to-apache/181327>\
**Category:** Rails\
**Created:** [January 9, 2010, 9:05pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327 "2010-01-09T21:05:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bloodniece](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Post date:** [January 9, 2010, 9:05pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327/1 "2010-01-09T21:05:19Z")

</div>

Hi All,

We have a RoR app, SQLite, and mongrel and we are considering moving to  
apache.  
Our current RoR app listens on port 80 and works fine. I installed  
apache to listen on port 7002, then installed an app called Munin that  
displays performance data, but I cannot get apache to serve up the  
pages.  
I realize this is not a RoR question, but I think RoR is somehow  
over-riding the rendering of Munin. The is the routing error I get when  
I goto [http://myip/munin](http://myip/munin) or when I goto [http://myip:7002](http://myip:7002), it times out.

Routing Error

No route matches “/usr/local/www/munin” with {:method=\>:get}

httpd.log:  
Fri Jan 8 15:33:35 2010] [info] (2)No such file or directory:  
make\_sock: for address 69.55.236.89 port 7002, setso  
ckopt: (SO\_ACCEPTFILTER)

Will anyone help or suggest a fix(s) and also provide any good resources  
(online or books) for moving to Apache from Mongrel?

thank you!  
derek

---

<div class="post-metadata">

**Author:** ![bloodniece](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Post date:** [January 9, 2010, 9:45pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327/2 "2010-01-09T21:45:33Z")

</div>

On Sat, Jan 9, 2010 at 1:05 PM, Derek S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I goto [http://myip/munin](http://myip/munin) or when I goto [http://myip:7002](http://myip:7002), it times out.
> 
> Will anyone help or suggest a fix(s) and also provide any good resources  
> (online or books) for moving to Apache from Mongrel?

You may want to look into mod\_rewrite

---

<div class="post-metadata">

**Author:** ![bloodniece](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Post date:** [January 11, 2010, 8:09pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327/3 "2010-01-11T20:09:36Z")

</div>

For mongrel deployment behind apache, you might want to check out:  
[http://mongrel.rubyforge.org/wiki/Apache](http://mongrel.rubyforge.org/wiki/Apache)

Instead of mongrel, you may want to look at deploying via passenger:  
[http://www.modrails.com/install.html](http://www.modrails.com/install.html)

Jeff

---

<div class="post-metadata">

**Author:** ![bloodniece](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Post date:** [January 11, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327/4 "2010-01-11T23:41:40Z")

</div>

Jeff B.systems wrote:

> For mongrel deployment behind apache, you might want to check out:  
> [http://mongrel.rubyforge.org/wiki/Apache](http://mongrel.rubyforge.org/wiki/Apache)
> 
> Instead of mongrel, you may want to look at deploying via passenger:  
> [Install — Phusion Passenger™ (a.k.a. mod\_rails / mod\_rack)](http://www.modrails.com/install.html)

Yup. It’s hard to think of a good reason to use Mongrel with Apache  
these days.

> Jeff

Best,  
–Â  
Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
