How to link directory to public_html?
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.
精彩评论