Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] apache server



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.]



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org