Re: Apache warning: DocumentRoot doesnot exist..

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

 



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

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