[Discuss] apache server

dan moylan jdm at moylan.us
Tue Dec 9 16:45:21 EST 2014


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)
jdm at moylan.us
www.moylan.us
[avoid html waste.]



More information about the Discuss mailing list