BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] apache server
- Subject: [Discuss] apache server
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- Date: Wed, 10 Dec 2014 01:45:58 +0000
- In-reply-to: <54879198.9040201@mattgillen.net>
- References: <20141209214521.GA6933@betelguese> <CY1PR0401MB12116C8D21B0DBB681FEB699DC650@CY1PR0401MB1211.namprd04.prod.outlook.com> <54879198.9040201@mattgillen.net>
> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss- > bounces+blu=nedharvey.com at blu.org] On Behalf Of Matthew Gillen > > It's easier to just turn on the appropriate boolean: > (as root): > setsebool -P httpd_enable_homedirs on Don't take medicine until you know what you're treating - If selinux blocking access to homedirs is the problem, then Matt's setsebool above will be good for you. But you should probably do the stuff below first, to positively diagnose if that's the problem. > On 12/9/2014 5:51 PM, Edward Ned Harvey (blu) wrote: > >> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss- > >> bounces+blu=nedharvey.com at blu.org] On Behalf Of dan moylan > >> > >> Forbidden > >> You don't have permission to access off-lnk.htm on this server. > > > > Also check selinux. > > > > Become root. Although you could do this with sudo, it's more of a pain. > > > > You must ensure the auditd service is installed and started. > > yum -y install auditd policycoreutils-python > > service auditd start > > > > First, make sure there's nothing in your audit log. > > audit2allow -m local -l -i /var/log/audit/audit.log > > > > If there is anything in there, clear it out with > > semodule --reload > > > > Now, temporarily disable selinux > > setenforce 0 > > > > Do whatever would normally get blocked. > > And re-enable selinux > > setenforce 1 > > _______________________________________________ > > Discuss mailing list > > Discuss at blu.org > > http://lists.blu.org/mailman/listinfo/discuss > > > > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://lists.blu.org/mailman/listinfo/discuss
- References:
- [Discuss] apache server
- From: jdm at moylan.us (dan moylan)
- [Discuss] apache server
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] apache server
- From: me at mattgillen.net (Matthew Gillen)
- [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):