httpd configuration

Arthur Pemberton pemboa at gmail.com
Fri Jun 16 04:52:50 UTC 2006


On 6/15/06, Tim <ignored_mailbox at yahoo.com.au> wrote:
> Tim:
> >>> Supplemental to the other suggestions, also check out the Apache SELinux
> >>> FAQ that's available from the Fedora website.  You may need to set up
> >>> userspace public_html directories with proper SELinux contexts, by hand.
>
> Arthur Pemberton:
> >> That is automatic if 'www' is used i believe. But yah, the docs will tell.
>
> Paul Howarth:
> > Looking at /etc/selinux/targeted/contexts/files/file_contexts.homedirs
> > it would appear that www or web or public_html should all be OK.
>
> mkdir public_html web www
> ls -Zd public_html web www
> drwxrwxr-x  tim      tim      user_u:object_r:user_home_t      public_html
> drwxrwxr-x  tim      tim      user_u:object_r:user_home_t      web
> drwxrwxr-x  tim      tim      user_u:object_r:user_home_t      www
>
> I suspect that some relabelling is required, not just the creation of
> the required directories, to get user webspace to work.
>
In which case just tell the system to relabel, sorry, I forgot how to
do that. Or you can manually label them.
> --
> (Currently running FC4, occasionally trying FC5.)
>
> Don't send private replies to my address, the mailbox is ignored.
> I read messages from the public lists.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


-- 
To be updated...




More information about the fedora-list mailing list