Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am getting a 403 when i access http://mayfieldafc.local/ upon looking in the Apache logs I am getting:

[Wed Nov 16 12:32:59 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /var/www

I have what i believe to be the correct permissions set on /var/www. hutber can create and delete files, hutber being my user. I can also execute as program on this folder.

In mayfields vhost its:

<Directory /var/www/mayfieldafc/docroot>

Options +FollowSymLinks

    AllowOverride None

    Order allow,deny

    Allow from all

</Directory>

I am pulling my hair out not being able to work on my sites with my work Ubuntu install. I know of nothing else that could be effecting this.

So any ideas?

share|improve this question
add comment

migrated from stackoverflow.com Nov 16 '11 at 18:28

This question came from our site for professional and enthusiast programmers.

1 Answer

Your error message references /var/www, not your documentroot. So it would be a more broad stanza that covers whether symlinks are allowed (in / or in /var)

share|improve this answer
add comment

Your Answer

 
discard

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