HTTPD.conf question

Jonathan Rawle gmane at jonathanrawle.co.uk
Sat Nov 12 00:37:55 UTC 2005


Michael Shaw wrote:

>> System-config-securitylevel or setsebool -P httpd_enable_homedirs=1
>> would toggle a SELinux boolean to allow that.
>>
>> regards
>> Rahul
>>
> 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.
> 
> Is their some workaround for this, as I'd rather leave SELinux enabled.
> 
> Michael
> 

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


-- 
http://jonathan.rawle.org/





More information about the fedora-list mailing list