/root is probably chmod'ed 700, so group "apache" cannot follow the link.
Everything in the path /home/moylan/www/link probably has at least the executable bit set in the third digit of its chmod settings, so apache can locate the /home/moylan/www/link/off.htm file, but apache doesn't have permission to read the file. Of course, this ignores the possibility that selinux is active and is doing the blocking. On Tue, Dec 9, 2014 at 4:45 PM, dan moylan <[email protected]> wrote: > > running fc 20 on acer aspire one. > apache (httpd) running: > > /etc/httpd/conf/httpd.conf > # DocumentRoot: The directory out of which you will serve your > # documents. By default, all requests are taken from this directory, but > # symbolic links and aliases may be used to point to other locations. > DocumentRoot "/var/www/" > > however: > > root /var/www[688] ls -l > total 12K > drwxr-xr-x. 2 root root 4.0K 140723:0631 cgi-bin/ > drwxr-xr-x. 2 root root 4.0K 140913:1522 html/ > lrwxrwxrwx. 1 root root 17 140913:1519 moylan -> /home/moylan/www// > -rw-r--r--. 1 root root 451 141209:1452 off.htm > lrwxrwxrwx. 1 root root 28 141209:1431 off-lnk.htm -> > /home/moylan/www/lnk/off.htm > lrwxrwxrwx. 1 root root 21 141209:1632 off-lnk-rut.htm -> > /root/off-lnk-rut.htm > > /var/www/off.htm > displays correctly, > > /var/www/off-lnk.htm (linked to /home/moylan/www/lnk/off.htm -- same file) > produces the following: > > Forbidden > You don't have permission to access off-lnk.htm on this server. > > and ... > /var/www/off-lnk-rut.htm (linked to /root/off-lnk-rut.htm -- again, same > file) > produces the following: > > Not Found > The requested URL /off-rut-lnk.htm was not found on this server. > > what am i missing? > > tia, > ole dan > > j. daniel moylan > 84 harvard ave > brookline, ma 02446-6202 > 617-777-0207 (cel) > [email protected] > www.moylan.us > [avoid html waste.] > _______________________________________________ > Discuss mailing list > [email protected] > http://lists.blu.org/mailman/listinfo/discuss > -- John Abreau / Executive Director, Boston Linux & Unix Email [email protected] / WWW http://www.abreau.net / PGP-Key-ID 0x920063C6 PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23 C2D0 E885 E17C 9200 63C6 _______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
