Symbolic not allowed or link target not accesible
I am trying to setup a simple symbolic link into my home dir from /var/www/html
, but I am gettings this error in my error log and the browser tells me it is forbidden:
[Fri Nov 15 12:24:53.709571 2013] [core:error] [pid 4971] [client 192.168.3.128:51372] AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/devel
The devel
is a softlink to /home/bf/Projects/P1234/web
, and the entire path and all its subdirectories are world-executionable.
In my httpd.conf
I have FollowSymLinks
set.
<Directory "/var/www/html">
Options Indexes FollowSymLinks MultiViews
...
</Directory>
I am using Fedora 19 (fresh install).
Check
/var/log/messages
for SElinux errors - and runsealert
- you will need to allow SElinux for apache to access home. As a side comment a nice way of checking permissions on the whole path:d=/home/bf/Projects/P1234/web; while test $d != '/'; do ls -ld $d; d=
`dirname $d`; done
- maybe someone will need that one day@marcindulak please post this as an answer, so I can accept it. It was exactly correct. The
sealert
program even gave me the way how to enable it by clicking "Details".