Apache won't follow Symlink

Solution 1:

Are you sure the www-data account has the ability to traverse every single directory component of /home/marvin/sfk/mysite/? So www-data has to have access to home, marvin, sfk, and mysite. You probably need to have o+x on every component of that path. When a symlink is followed, the user following the symlink must have the ability to actually get to the destination folder/file.

If you don't want to grant www-data access to your folder, then you might want to look at a bind mount instead.

Solution 2:

What are the permissions on your home directory and the sub directories, as they need to be accessible to the Apache user e.g.

chmod 755 ~/ ~/sfk ~mysite