HTTPD.conf question
Tim
ignored_mailbox at yahoo.com.au
Sat Nov 12 07:18:54 UTC 2005
Rahul:
>>> System-config-securitylevel or setsebool -P httpd_enable_homedirs=1
>>> would toggle a SELinux boolean to allow that.
Michael Shaw:
>> Actually it will not work with SELinux enabled at all. I've tried
>> fiddling around with all kinds of settings, but the only way I can get
>> it to work is to disable SELinux totally.
Jonathan Rawle:
> As well as setting the boolean as described above, you need to set the
> context of your public_html directory:
>
> chcon -R -t httpd_sys_content_t ~/public_html
And, I think you still need to set the usual *ix permissions. Make all
servable directories, and their parents, executable to other users.
Make all files being served readable to other users.
rwx-----x /home
rwx-----x /home/username
rwx-----x /home/username/public_html
rwx---r-x /home/username/public_html/homepage.html
--
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the users
mailing list