[Discuss] apache server

Derek Martin invalid at pizzashack.org
Tue Dec 9 17:00:49 EST 2014


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.



More information about the Discuss mailing list