Apache does not show and does not follow SymLinks

apache-2.2symbolic-link

On Linux Fedora 15, Apache doesn't follow symlinks, and they did not show in directory index… Can you help me why?

Just to mention that in httpd.conf I do have :

<Directory />
    Options FollowSymLinks
</Directory>

Also, User and Group defined in httpd.conf are owners of proper directories where is web application saved…

Can you tell me what I'm doing wrong? Thank you in advance!!!

UPDATE: is a problem occured because target is on the other hard drive?

UPDATE 2: it follows symbolic links, but this link for some reason is not followed. It points to the dir on other hard drive.

UPDATE 3: there is "nothing special" after first direction, ie:

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

Best Answer

Make sure that Apache has read permission in the directory the link points too. Giving read permission on the link itself is not sufficient.

Related Topic