Apache warning: DocumentRoot doesnot exist..

Manuel Arostegui Ramirez manuel at todo-linux.com
Sat Sep 2 11:11:09 UTC 2006


El Sábado, 2 de Septiembre de 2006 12:42, Nirav Modiya escribió:
> hi manuel
> Thanks for ur prompt reply,
>
> I have given same permission (755) to /home/xxx and /home/yyy..
> I have even tried with 777 permission also..
>
> and apache has read permission for read on it..
> still I confuse..
>
> Thank you,
> With cheer,
> Nirav..
>

I'm pretty sure that's its a permission issue.
I have tried to set up an Apace using /home/manu/public_html as a 
DocumentRoot ,right now, and i've been successful .

Look at my simply configuration:

<VirtualHost *:80>
    ServerAdmin webmaster at localhost
    DocumentRoot /home/manu/public_html
    ServerName localhost
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>


And look at this:

[root at Arbusto ~]# ls -l /home/ | grep manu
drwxr-xr-x 64 manu manu 20480 sep  2 13:02 manu

And of course public_html have right permissions.

[root at Arbusto ~]# ls -lh /home/manu/ | grep public*
drwxr-xr-x  2 manu manu 4,0K sep  2 13:02 public_html

By the way, could be a great idea to look at apache logs :-)

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