开发者

symlinks doesnt working on ubuntu localhost

开发者 https://www.devze.com 2023-04-10 22:54 出处:网络
I have problem. Im using ubuntu. I take symblink to my /var/www/ ln -sf /home/user/project/www/project_name

I have problem. Im using ubuntu. I take symblink to my /var/www/

ln -sf /home/user/project/www/project_name

But as i try to load it in localhost it returns me error:

Forbidden

You don't have permission to access /project_name on this server.


as i copy folder directly to /var/www/ it works fine.

What is reason that it isnt working with symlinks?

T开发者_开发技巧hank you

Jan


I found a solution.

you must set executable to folder "project_name" on which you have symlink.

0

精彩评论

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

关注公众号