Apache warning: DocumentRoot doesnot exist..

Manuel Arostegui Ramirez manuel at todo-linux.com
Sun Sep 3 09:18:05 UTC 2006


El Domingo, 3 de Septiembre de 2006 10:57, Ali Hamad escribió:
>
> Hello :
> I do think that public_html should has
> ( Apache user ):User permission.

I think you're misunderstanding this thread, I'm not the one who have problems 
with Apache and the DocumentRoot.
My Apache works perfectly ;-)

>
> as example , if the user who runs Apache is nobody , the permission of the
> public_html folder should be :
> USER:nobody.

Actually, that's not really true. If you have 755 permission on the directory, 
any user could read on it, nobody, apache or whatever.
I agree that is a good idea to set nobody or apache as a group. Above was just 
a comment ;-)

>
> another example is :
> drwxr-x---  22 ali nobody 4096 Sep  3 04:44 public_html
> where (ali) is the username of my own website and nobody is the user who
> runs Apache .

Try giving 755 to the directory and change the group:
chown ali. public_html/ 
Apache will be able to read on it :-)

Anyway, Nirav, the guy with the Apache problem, wrote that he have checked all 
permission issue.

Cheers
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.




More information about the redhat-list mailing list