Hi

You might hear it for the millionth time but I just spend some hours
on that issue. Search the internet, searched the capistrano mail etc.

My problem from apache's log:
Symbolic link not allowed or link target not accessible: /var/deploy/
deployments/myapp.com/current, referer: http://www.myapp.com/login



I deploy via Git, Apache, Capistrano and a *deployment* user. As far
as I know I set things up correctly like:
***********Vhosts***************
<VirtualHost *:80>
  ServerName www.myapp.com
  ServerAlias myapp.com
  DocumentRoot /var/deploy/deployments/myapp.com/current/public
  <directory /var/deploy/deployments/myapp.com/current/public>
     Allow from all
     Options FollowSymLinks
  </directory>
</VirtualHost>
**********************************

The deployment user has all the rights for all the subdirectories of /
var/deploy.

But when I access let's say myapp.com/login I find this error in
Apaches log:
"Symbolic link not allowed or link target not accessible" although I
set symlinks correct. I don't get it. I even tried the tip from this
post: [
http://groups.google.com/group/capistrano/browse_thread/thread/421e2754a74f1d29/7e70c22651113073?lnk=gst&q=Symbolic+link+not+allowed+or+link+target+not+accessible#7e70c22651113073
]

After changing the document path like the post above suggest now
instead of an 403 forbidden
I get an passenger error that some file are missing (which isn't
true). The directory doesn't get it right.


I chmoded the current symlink => didn't work
I chmod the sqlite db  => didn't work

If you need any more data please let me know.

Thanks for any help

Chris

-- 
* 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

Reply via email to