Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am setting up a new web server (ubuntu 10.04 LTS), I want to get run on production mode: PHP, Rails 2.3.X and Rails 3, and each one should be accessible from diferent path, ex:




running the three at the time.

I already have installed rvm (with ruby 1.8.7 and 1.9.2), Apache, PHP and MySQL (I use MySQL for Rails and PHP applications).

Some suggest, documentation, links?... are all welcome

share|improve this question

migrated from Dec 23 '11 at 17:50

This question came from our site for professional and enthusiast programmers.

Hello, I don't understand, which is the problem with my question? I do not expect you to do my job, it's just that I have looked online and there are many different documents, I would like you to recommend me a reliable documentation because I want to start right from the beginning. – el_quick Dec 23 '11 at 17:44
@el_quik - as I said. There is nothing wrong with your question, it's just been asked on the wrong site. Your question is about setting up software. That sort of question is better put on ServerFault, instead of StackOverflow. – Taryn East Dec 23 '11 at 17:46
Several of us have already voted for it to be moved over there by a moderator - so it should get moved there very soon now and then you'll get the help you need. – Taryn East Dec 23 '11 at 17:47

I'd use apache2 mod_alias :

A better approach than using urls like http://localhost/somepath is : using virtualhosts you can define in your /etc/hosts file this entry  rails2 rails3 php

and then define name based virtualhosts for each project so that you can user urls like

http://rails2, http://rails3 and http://php

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.