Re: Apache warning: DocumentRoot doesnot exist..

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

 



Hello friends,
Thank you very much to all of u..
My problem is solved now..the problem is becasue of selinux only so i have
Disabled SElinux and then after my apache works fine...
Yet i have not checked this two option..

getsebool -a
setsebool -P httpd_enable_homedirs

But i will sure check it with SElinux enable. And i have no doubt that it
will also work fine..:)

Thank you again to all for solving this problem.

With regards,
Nirav

On 9/6/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:

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




--
Nirav Modiya
--
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