I have mapped my apache to the root /var/www/vhosts. If I put there files/folders, I see them and can surf to them. But, If I put symlinks in /var/www/vhosts I get 403 - no permissions.
I have the following directives for this folder:

<Directory "/var/www/vhosts">
   Options Indexes FollowSymLinks
   AllowOverride All
</Directory>
link|improve this question

50% accept rate
feedback

3 Answers

Where are the symlinks to? What are the permissions/owner/group on these files? Do an ll on the directory above so we can see if that's the issue. When you are on the server, are you able to navigate these symlinks ok?

link|improve this answer
An ll? I'm presuming you have ll aliased to ls -l. – DaveG Feb 26 '10 at 17:42
Sorry, yes, that's what I meant – AliGibbs Feb 26 '10 at 20:18
feedback

What are the symlinks to?

What are the permissions on the data being symlinked?

What user and group does Apache run as in your config?

link|improve this answer
feedback

You have to make sure that apache has read permissions on the files you are trying to serve.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.