BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] apache problem
- Subject: [Discuss] apache problem
- From: david at thekramers.net (David Kramer)
- Date: Tue, 8 Jan 2019 17:45:46 -0500
- In-reply-to: <20190108223620.GB9285@bladeshadow.org>
- References: <20190104220137.GA19352@arcturas.localdomain> <20190108223620.GB9285@bladeshadow.org>
Setting up a Document root of your home directory sounds like an very bad idea to me.? Maybe a subdirectory under it if you can make the files readable by the Apache user... On 1/8/19 5:36 PM, Derek Martin wrote: > On Fri, Jan 04, 2019 at 05:01:37PM -0500, dan moylan wrote: >> newly installed fc29 from scratch on my laptop -- apache >> appears to be running ok. chrome displays >> localhost/welcome.htm just fine, but when i try >> localhost/moylan/welcome.htm, where welcome.htm is in >> /home/moylan/www, i get: "you don't have permission to >> access localhost/moylan/welcome.htm on this server" > This path seems to imply that your document root is /home, which is > probably wrong, or perhaps that you've set up some path alias which we > can't guess for lack of your configuration, and it's somehow wrong. > You probably wanted this instead: > > localhost/~moylan/welcome.htm > > Another possibility is that you seem to have an SELinux ACL defined on > the files (as indicated by the '.' character at the end of the > permissions in the directory listing), and your SELinux policy is in > some fashion forbidding access to the files by the web server. > > The remaining possibilities, AFAIK, are that your web server's > configuration does not correctly list the necessary directories or has > inadequate permissions for them, or that the appropriate apache > modules for configuring access to user home directories (UserDir) are > not being loaded or (again) is misconfigured to use some other > directory than the one you're using, or has incorrect permissions. >
- References:
- [Discuss] apache problem
- From: jdm at moylan.us (dan moylan)
- [Discuss] apache problem
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] apache problem
- Prev by Date: [Discuss] apache problem
- Next by Date: [Discuss] apache problem
- Previous by thread: [Discuss] apache problem
- Next by thread: [Discuss] apache problem
- Index(es):