BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] apache server
- Subject: [Discuss] apache server
- From: greg at freephile.com (Greg Rundlett (freephile))
- Date: Tue, 9 Dec 2014 17:29:08 -0500
- In-reply-to: <20141209220049.GL11641@dragontoe.org>
- References: <20141209214521.GA6933@betelguese> <20141209220049.GL11641@dragontoe.org>
Apache also has a module (mod_userdir) and related directives for serving content from user home directories. See http://httpd.apache.org/docs/current/howto/public_html.html If you remove the symbolic link 'moylan' and specify (in httpd.conf, or conf.d/mysite.conf) UserDir www Then sudo a2enmod userdir sudo apache2ctl reload you should be able to browse what's in moylan/www by requesting localhost/~moylan/ Greg Rundlett http://eQuality-Tech.com http://freephile.org On Tue, Dec 9, 2014 at 5:00 PM, Derek Martin <invalid at pizzashack.org> wrote: > 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. > > > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://lists.blu.org/mailman/listinfo/discuss > >
- Follow-Ups:
- [Discuss] apache server
- From: greg at freephile.com (Greg Rundlett (freephile))
- [Discuss] apache server
- References:
- [Discuss] apache server
- From: jdm at moylan.us (dan moylan)
- [Discuss] apache server
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] apache server
- Prev by Date: [Discuss] apache server
- Next by Date: [Discuss] apache server
- Previous by thread: [Discuss] apache server
- Next by thread: [Discuss] apache server
- Index(es):