Server Fault is a question and answer site for system and network administrators. 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 receive the following error when trying to access a new virtual host:


You don't have permission to access / on this server. Apache/2.2.17 (Ubuntu) Server at www.local.ttr Port 80

The apache log file for this virtual host contains the following error:

[Tue Aug 09 13:54:42 2011] [error] [client] Symbolic link not allowed or link target not accessible: /var/www/ttr

I have set up a .conf file in sites-available and created a symlink to this in sites-enabled. This file has the following content:

<VirtualHost *:80>
    DocumentRoot "/var/www/ttr/Public/public"
    ServerName www.local.ttr
    ErrorLog "/var/log/apache2/ttr-public-error.log"
    CustomLog "/var/log/apache2/ttr-public-access.log" common
php_flag log_errors on
    php_flag display_errors on
    php_value error_reporting 30719
    php_value error_log /var/www/ttr/Public/application/logs/logs.txt
<Directory "/var/www/ttr/Public/public">
        Options Indexes FollowSymLinks
        AllowOverride all
        Order Deny,Allow
  Allow from all

The path /var/www/ttr is a symlink to a folder within my home directory /home/gordon/ttr which contains all projects including a project called Public.

Could anyone give me any pointers on how to fix this problem? It is driving me berserk!

share|improve this question

Apache should have execute permission for /home/gordon/ttr [and everythng in there]

share|improve this answer

Your Answer


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.