开发者

How to link directory to public_html?

开发者 https://www.devze.com 2023-03-13 20:39 出处:网络
I have ~/public_html and few subdirectories with sites inside. B开发者_运维百科ut I have also ~/projects with all my projects (not only websites). I\'m trying to link ~/projects/X with ~/public_html/X

I have ~/public_html and few subdirectories with sites inside. B开发者_运维百科ut I have also ~/projects with all my projects (not only websites). I'm trying to link ~/projects/X with ~/public_html/X.

ln -s ~/projects/X ~/public_html/X

But I have error 403, access forbiden. Directory and files into it have rx rights. How should I do that?


You should enable "FollowSymLinks" option for your public_html folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消