Search Engine: Elastic

Article ID: 119592, created on Jan 11, 2014, last review on May 11, 2014

  • Applies to:
  • Plesk Automation 11.5


Apache directive "followsymlink" does not work. I created vhost.conf with the following content:

    [root@]# cat /var/www/vhosts/system/domain.tld/conf/vhost.conf

    <Directory /var/www/vhosts/domain.tld/httpdocs>
    Options +FollowSymlinks
    AllowOverride All

When I try to browse any simlink in browser, I got error:

    # tail -f /var/www/vhosts/system/domain.tld/statistics/logs/error_log
    Symbolic link not allowed or link target not accessible: /var/www/vhosts/domain.tld/httpdocs/css


One of the possible reason that owner of the symlink does not correspond the owner of the symlinked files.


If you are sure that your server is secure, modify vhost.conf as below:

Options +FollowSymLinks -SymLinksIfOwnerMatch

33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF