frog9394
Verified User
- Joined
- Jun 27, 2008
- Messages
- 26
Dear All,
I have an nfs volume mounted to /mnt/nfs. A symbolic link /home/user/public_html/image -> /mnt/nfs/image has created. But I can't get https://www.domain.com/image/test.jpg to work (Forbidden) because apache seems restricted. It can only read content inside /home/user. How can I solved this problem.
I have already get php to work with add /mnt/nfs to open_basedir but no luck with apache.
Errorlog
[Wed Apr 21 03:27:07.918863 2021] [core:error] [pid 2439004:tid 140276112312384] [client 1.1.1.1:55644] AH00037: Symbolic link not allowed or link target not accessible: /home/user/domains/www.test.com/public_html/image
Thanks everybody!!
OS: Cloudlinux 7
Directadmin ver: 1.61.5
Apache ver: 2.4
I have an nfs volume mounted to /mnt/nfs. A symbolic link /home/user/public_html/image -> /mnt/nfs/image has created. But I can't get https://www.domain.com/image/test.jpg to work (Forbidden) because apache seems restricted. It can only read content inside /home/user. How can I solved this problem.
I have already get php to work with add /mnt/nfs to open_basedir but no luck with apache.
Errorlog
[Wed Apr 21 03:27:07.918863 2021] [core:error] [pid 2439004:tid 140276112312384] [client 1.1.1.1:55644] AH00037: Symbolic link not allowed or link target not accessible: /home/user/domains/www.test.com/public_html/image
Thanks everybody!!
OS: Cloudlinux 7
Directadmin ver: 1.61.5
Apache ver: 2.4
Last edited: