Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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>
share|improve this question

3 Answers 3

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?

share|improve this answer
1  
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

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?

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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