Cindy,
This is really an Apache + Passenger question, your DocumentRoot and similar
settings need to point at the place you have installed the `public`
directory of your app into.

- Lee

2009/6/18 cswebgrl <ci...@cswebconcepts.com>

>
> Hi,
>
> I'm new to the world of Capistrano and Passenger for deployment.  I
> have a staging server where I would like to server up several client
> applications.
>
> I am following this guide for setting up virtual hosts -
>
> http://www.modrails.org/documentation/Users%20guide.html#_deploying_to_a_virtual_host_8217_s_root
>
> Example from Passenger site:
>
> <VirtualHost *:80>
>    ServerName www.phusion.nl
>    DocumentRoot /websites/phusion
> </VirtualHost>
>
> ln -s /webapps/mycook/public /websites/phusion/rails
>
> <VirtualHost *:80>
>    ServerName www.phusion.nl
>    DocumentRoot /websites/phusion
>    RailsBaseURI /rails                # This line has been added.
> </VirtualHost>
>
>
>
> I have clients/app_name/current/public and all of the usual suspects
> for Capistrano.
>
> Sorry if I'm missing the obvious, but how do I configure symlinks and
> then the BaseURI settings so that each client application can be
> served properly using the Capistrano folder structure?
>
> Thanks!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to capistrano@googlegroups.com
To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to