On Dec 11, 10:38 am, 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
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName www.app2.com
DocumentRoot /webapps/app2/public
<Directory /webapps/app2/public>
Allow from all
Options -MultiViews
</Directory>
</VirtualHost>
> Thanks
> koti.
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.