2

I want to setup different projects under same domain with different ruby version for each app.

Eg:

  • example1.com is a main app which runs on Ruby 1.8.7

  • example1.com/tasks is another app which runs on Ruby 1.9.2

I tried some of the setup in apache2 using "alias" as discussed in some of the posts here 1,2 but sub apps are not working(not loading passenger but its serving the static files).

My configuration looks like this,

<VirtualHost *:80> DocumentRoot /home/rails_apps/mainapp Alias /tasks /home/rails_apps/tasks <Directory /home/rails_apps/tasks> Options Indexes FollowSymLinks </Directory> </VirtualHost> 

How do I load(passenger) different ruby version with in the same virtual host ?

  • OS: RHEL 5
  • Apache 2.2
  • passenger 4
  • RVM

1 Answer 1

1

You want to deploy /tasks and /search in sub-URIs. See the Passenger deployment guide.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.