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



On Tue, Dec 09, 2014 at 04:45:21PM -0500, dan moylan wrote:
> /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.

Most likely explanation is that your home directory, or a path
component in it, is not readable by the user as which the server runs.

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

Same problem, more severe permissions restriction.  Most likely root's
home directory is locked down completely (this is the default on most
distros AFAIK), so the server's user can't see anything inside it.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.




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