Cobra Forum

Plesk Panel => Webserver => Topic started by: mahesh on Dec 09, 2024, 06:33 AM

Title: Specific page can not be accessed for a Plesk domain: Symbolic link not allowed
Post by: mahesh on Dec 09, 2024, 06:33 AM
Question:
Specific page can not be accessed for a Plesk domain: Symbolic link not allowed or link target not accessible
Symptoms

403 Access denied
AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/example.com/sub.example.com/public_html/storage_link
#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