I have ~/public_html and few subdirectories with sites inside. But 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.