Hi All,
I have a CentOS server upon which I need to serve up a folder enabling directory browsing.
The directories are as follows:
/var/www/html < Site Root
/var/www/html/index.html < File redirects browser to /linkdir
/var/www/html/lnkdir < Symlink to /mnt/linkdir
/mnt/linkdir < Contents to be read as directory listing.
All of the above folders have permissions of 750 or 755.
I've configured the httpd.conf file with the following options:
DocumentRoot "/var/www/html"
<Directory "/var/www">
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Require all granted
</Directory>
However, when connecting to the server, I can successfully reach index.html and it redirects me to /linkdir but then I receive an error 403 - permission denied.
The error_log shows:
[negotiation:error] [pid 19483] (13)Permission denied: [client xxx.xxx.xxx.xxx:7817] AH00686: cannot read directory for multi: /var/www/html/linkdir/, referer:
http://mydomain.com/
I've searched on this issue and most others seem to resolve it with permissions, but my permissions seem to be correct.
Does anyone know how to resolve this issue?
Thanks
Anubis.