Re: httpd configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
(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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux