Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

Your Answer

 
discard

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