Re: Apache warning: DocumentRoot doesnot exist..

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

 



Nirav Modiya wrote:
hello friends,
Thanks for ur all pointers..
I have checked with apache user..it means i have set apache as
user/owner of my public_html directory and i have also checked with
nobody user..and getting same problem..

I think stephen was right. it may be a problem of selinux..because it
showing selinux error in /var/log/messages..so is there any way to
stop or disable selinux..

thanks to  u all...
Nirav


Rather than turn off selinux, why don't you set the documentroot directories to this:

system_u:object_r:httpd_sys_content_t

using the chcon command? This will probably fix your problem. Make sure to use the -R option, to do all the files and directories recursively.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux