Hi there,
I got the advice on the Apache mailing list that this might be an
selinux problem.
I have a directory under my home dir, and I would like that Apache
served that. It says 403 Forbidden. I have created a web group that
includes my user and apache. It is set in the httpd.conf file. After
using chcon, ls -Z tells me
drwxr-x---. gergoe web system_u:object_r:httpd_sys_content_t:s0 wordpress
and the same for all the files under. Still, I cannot access the
content in that dir.
What else should I set?
#0 (before 1): running a website out of your home directory is
completely and totally a no-no. You might as well open your system up to
the 'Net with a sign "Crackers Welcome!"
Move it to somewhere like, say, /var/www/html.
#1: selinux may be preventing it because the *directory* context doesn't
allow it.
mark
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux