Apache warning: DocumentRoot doesnot exist..

Nirav Modiya nirav.linux at gmail.com
Thu Sep 7 18:06:36 UTC 2006


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 at aa.usno.navy.mil> 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Nirav Modiya



More information about the redhat-list mailing list