Default capistrano deploy strategy uses a time stamped release directory pointed to by a symlink named current
If your deploy_to is /var/www/myapplication then your doc root should be /var/www/myapplication/current/public Which is not the same directory which apache is reporting as missing in your post. Also if you are using passenger you don't need to restart apache on deploy; you just need to touch the app roots tmp/restart.txt Passenger docs I think even have suggested cap tasks that you can use. On Nov 17, 2011, at 12:55 AM, sukoon chd <[email protected]> wrote: > Lee, I appreciate the reply. I tried everything. > > There is something wrong with this > when i reload the server -> sudo /etc/init.d/apache2 reload > > I get this error, > > Warning: DocumentRoot [/var/www/myapplication/public] does not exist > > It does names sense coz there isn't any public folder. > > > > > > On Thu, Nov 17, 2011 at 12:16 AM, Lee Hambley <[email protected]> wrote: > That depends entirely on correctly configuring DNS, a web server, your > database server, an application server, and more - please consult your > distributions documentation on how to do those things. > > - Lee > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" 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/capistrano?hl=en > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" 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/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" 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/capistrano?hl=en
