Red Hat Bugzilla – Bug 167236
httpd unable to access public_html in home dir
Last modified: 2007-11-30 17:11:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
httpd gives error 403 (forbidden) when it tries to access public_html dir in user home directory. The "allow httpd to read home directories" checkbox in Security Level is checked. Everything works when selinux control over httpd is disabled (by unchecking the checkbox in Security Level Application).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create public_html directory in users home dir.
2. Access the user's home dir with a browser
Actual Results: 403 forbidden error is reported and access denied error is logged in error_log file.
Expected Results: access the directory
You forgot to relabel the public_html directory as described in
Sorry. I missed that part in the FAQ.