How to Run Two Ruby on Rails application at a time

Hi All

How to create Virtual hosts in Apache web server using Ruby on rails.

Thanks
koti.

On Dec 11, 10:38am, Koteswara rao Vuyyuru [email protected]
wrote:

Hi All

How to create Virtual hosts in Apache web server using Ruby on rails.

Assuming you’re using passenger, then at a strict minimum all you need
is

<VirtualHost *:80>
ServerName www.app1.com
DocumentRoot /webapps/app1/public
<Directory /webapps/app1/public>
Allow from all
Options -MultiViews

<VirtualHost *:80>
ServerName www.app2.com
DocumentRoot /webapps/app2/public
<Directory /webapps/app2/public>
Allow from all
Options -MultiViews