0

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?

3 Answers 3

1

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

Sign up to request clarification or add additional context in comments.

3 Comments

Is Passenger free though? Is there any good free web server or is it ok to use HTTPD instead?
Passenger is 100% free, they have a pay version for support.
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.
0

http://rubyonrails.org/deploy

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.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.