Articles in this section

Specific page can not be accessed for a Plesk domain: Symbolic link not allowed or link target not accessible

Plesk for Linux kb: technical

Symptoms

  • A specific or particular page on a Plesk domain can not be accessed with:

    CONFIG_TEXT: 403 Access denied

  • The following error can be found under Domains > sub.example.com > Logs:

    CONFIG_TEXT: AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/example.com/sub.example.com/public_html/storage_link

  • The option Restrict the ability to follow symbolic links in the Domains > sub.example.com > Apache & nginx Settings is disabled.

  • The ownership of the symbolic link from the log error is incorrect:

    # ls -la /var/www/vhosts/example.com/sub.example.com/public_html/storage_link
    lrwxrwxrwx 1 root root 62 Mar 24 12:17 storage_link -> /var/www/vhosts/example.com/sub.example.com/storage/app/public

Cause

Incorrect ownership to the symbolic link for storage_link

Resolution

  1. Connect to the server via SSH.

  2. Correct the ownership with the the path from the error, where jdoe is the Domain sysuser. e.g.:

    # chown -h jdoe:psacln /var/www/vhosts/example.com/app.example.com/public_html/storage_link

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.