Take the 2-minute tour ×

Is there a way to run Ruby on Rails app on Apache HTTPD (CentOS)?

Is this just a matter of setting up httpd.conf with VirtualHost?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

Passenger is probably the easiest way to get that running. Here's a tutorial on installing Passenger on CentOS6, and here are prebuilt rpms.

share|improve this answer
Is Passenger free though? Is there any good free web server or is it ok to use HTTPD instead? –  Passionate Developer Jan 9 '13 at 23:42
Passenger is 100% free, they have a pay version for support. –  Devin Stewart Jan 9 '13 at 23:45
There are tons of other options if you don't want to use HTTPd (see the link in @hjc1710's answer). Passenger is the simplest if you're already using Apache, though. –  James Mason Jan 10 '13 at 0:02
add comment


Check Rails site, I think you have to use a Proxy, unless I'm misunderstanding what you mean by HTTPD. Seems like you want a simple Apache setup, Rails should be able to help.

EDIT: James answer looks perfect. Same as mine, but he has real CENTOS tutorials... I've never used CENTOS, just done this through Ubuntu.

share|improve this answer
add comment

You can run mod_rails aka Passenger or a Mongrel Cluster or Thin Cluster.

I find passenger the easiest, you can download it Here

The Steps are quite easy

sudo gem install passenger
sudo passenger-install-apache2-module

Follow instructions on screen.

share|improve this answer
add comment

Your Answer


