Question: Specific page can not be accessed for a Plesk domain: Symbolic link not allowed or link target not accessible
Symptoms- A specific or particular page on a Plesk domain can not be accessed with:
403 Access denied
- The following error can be found under Domains > sub.example.com > Logs:
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
CauseIncorrect ownership to the symbolic link for storage_link
Resolution1.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