[Centos] Problem with apache in CentOS 4.0 (final)

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



On Thu, 10 Mar 2005 14:00:55 -0300, Cristofer N. Reyes A.
<crreyes@xxxxxxxxxxxx> wrote:
> Hi everyone!
> 
> In my new CentOS 4.0 (final ;-) I installed apache and activates
> SELinux, When I
> tried to enter a page of some user (localhost/~user) said to me that she
> did not have permissions

You don't have permission according to SELinux.
As root run 'getsebool -a | grep homedirs' to be sure that it's
enabled.if it is, make sure that it's set to the proper SELinux
context for homedir content.

As your user:
ls -Z the html directory, and ensure that the context is set as
httpd_user_content_t
if it's not, then 'chcon -t httpd_user_content_t html'
Also, for documentation on SELinux, you should read
http://fedora.redhat.com/docs/selinux-apache-fc3/
SELinux is an excellent security measure, but it takes some getting used to.

--
Jim Perrin
Arbelos Systems

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux