Re: Apache warning: DocumentRoot doesnot exist..

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

 



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

On 9/2/06, Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx> wrote:

El Sábado, 2 de Septiembre de 2006 12:29, Nirav Modiya escribió:
> Hi friends,
>
> I have configured apache server for our intranet and I want to make two
> sites running on it...
> For that i have configured VirtualHost on my apache server..
> lets say the domain names are xxx.com and another lets say yyy.com
> i have configured <VirtualHost> directives by following way..
>
> **NameVirtualHost 192.168.1.x:80
> <VirtualHost 192.168.1.x:80>
>         ServerName xxx.com
>         ServerAlias www.xxx.com
>         DocumentRoot /home/xxx/public_html
> </VirtualHost>
> <Directory /home/xxx/public_html>
>         Order allow,deny
>         Allow from all
> </Directory>
>
> <VirtualHost 192.168.1.x:80>
>         ServerName yyy.com
>         ServerAlias www.yyy.com
>         DocumentRoot /home/yyy/public_html
> </VirtualHost>
> <Directory /home/yyy/public_html>
>         Order allow,deny
>         Allow from all
> </Directory>
>
> After doing this changes when I restarted apache server i got following
> warning
>
> Stopping httpd:                                            [  OK  ]
> Starting httpd: Warning: DocumentRoot [/home/xxx/public_html] does not
> exist Warning: DocumentRoot [/home/yyy/public_html] does not exist
> [  OK ]
>
> I have also check the permission on the folder and public_html has 755
> permission

And what about the permission of /home/xxx and /home/yyy
Is apache (the user who run apache) allow read on it? Check it.
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.

--
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?subjecthttps://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