[Discuss] apache server

Edward Ned Harvey (blu) blu at nedharvey.com
Tue Dec 9 17:51:45 EST 2014


> 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



More information about the Discuss mailing list