Mongrel to Apache

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 or when I goto 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

You may want to look into mod_rewrite

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

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

Jeff

Jeff Burlysystems wrote:

For mongrel deployment behind apache, you might want to check out: 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)

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

Jeff

Best,

Marnen Laibow-Koser wrote:

Yup. It's hard to think of a good reason to use Mongrel with Apache these days.
Best,
-- 
Marnen Laibow-Koser

Running on Windows might be a reason…