简体   繁体   中英

Httpd Error Forbidden on Symlink

I tried to put all my laravel folders into my home directory and create a symlink. I am on fedora 23

my current laravel project which is named blogger is under /home/pitfu/web/blogger

I created a symlink using this command

sudo ln -s /home/pitfu/web/blogger/public/ /var/www/html/blogger

in http.conf Options Indexes FollowSymLink is already there for /var/www/html

why do I get a Permission error?

Forbidden

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

when I do ls -la in /var/www/html

lrwxrwxrwx  1 pitfu pitfu   61 Nov 20 13:48 blogger -> /home/pitfu/web/blogger/public/

Revised

After looking at this again I'm persuaded to believe that the /var/www/html folder may not have the adequate permissions set for the server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM