Symbolic link not allowed - custom directory

Yasham

Verified User
Joined
Feb 3, 2018
Messages
33
Hello,
I have a user need a large disk space, I had create a new partition and do this codes:

cp -rfp /home/unsername /mnt/volume-nbg1-1/unsername
rm -rf /home/unsername
ln -s /mnt/volume-nbg1-1/unsername /home/unsername

And it's worked fine from control panel, But I can't access the domain from browser I get 403 Forbidden error with this log:

[Sat Jul 30 15:50:11.617106 2022] [core:error] [pid 14963:tid 139981204731648] [client 212.252.140.130:0] AH00037: Symbolic link not allowed or link target not accessible: /home/unsername

Which is the best solution?
Regards.
 
A quick google search of the error shows that doing something similar to:
<Directory /home/username>
Options +FollowSymLinks
</Directory>
should do the trick
 
Back
Top