  | | | Configuring Apache | Configuring Apache 2003-10-28 - By Todd McGuinness
Back Hi,
First thing I can see is that your document root should be a directory and not a file... Change that to this:
/www/love
And you should be ok for that problem.
You also need to specify your fully qualified hostname in your httpd.conf if it is having problems resolving itself.
Cheers, Todd
On 10/28/03 11:58 AM, "Blessing Kamutande" <Kamutandeb@(protected)> wrote:
> Dear All, > I'm trying to set-up virtual hosting on my server using Apache and I'm > getting the following problems in my logs and also I have sent the apache > configuration file http.conf > > Messages Log Report > Oct 28 19:27:41 Redhat9 network: Setting network parameters: succeeded > Oct 28 19:27:41 Redhat9 network: Bringing up loopback interface: succeeded > Oct 28 19:27:45 Redhat9 named[3261]: command channel listening on > 127.0.0.1#953 > Oct 28 19:27:45 Redhat9 named[3261]: zone 122.63.192.in-adddr.arpa/IN: > loading master file 122.63.122.rev: file not found > Oct 28 19:27:46 Redhat9 sshd: succeeded > Oct 28 19:27:46 Redhat9 named[3261]: zone 0.0.127.in-addr.arpa/IN: loaded > serial 1997022700 > Oct 28 19:27:46 Redhat9 named[3261]: zone localhost/IN: loaded serial 42 > Oct 28 19:27:46 Redhat9 named[3261]: zone kamutande.co.zw/IN: loaded serial > 1997022700 > Oct 28 19:27:46 Redhat9 named[3261]: dns_master_load: loveness.db:10: > ignoring out-of-zone data (test.co.zw) > Oct 28 19:27:46 Redhat9 named[3261]: zone loveness.co.zw/IN: loaded serial > 1997022700 > Oct 28 19:27:46 Redhat9 named[3261]: zone test.co.zw/IN: loaded serial > 1997022700 > Oct 28 19:27:46 Redhat9 named[3261]: running > Oct 28 19:27:46 Redhat9 named[3261]: zone kamutande.co.zw/IN: sending > notifies (serial 1997022700) > Oct 28 19:27:46 Redhat9 named[3261]: zone loveness.co.zw/IN: sending > notifies (serial 1997022700) > Oct 28 19:27:46 Redhat9 named[3261]: zone test.co.zw/IN: sending notifies > (serial 1997022700) > Oct 28 19:27:47 Redhat9 xinetd[3289]: xinetd Version 2.3.10 started with > libwrap options compiled in. > Oct 28 19:27:51 Redhat9 httpd: Warning: DocumentRoot [/www/love/love.htm] > does not exist > Oct 28 19:27:51 Redhat9 httpd: Warning: DocumentRoot > [/www/kamutande/kamas.htm] does not exist > Oct 28 19:27:51 Redhat9 httpd: httpd: Could not determine the server's fully > qualified domain name, using 127.0.0.1 for ServerName > Oct 28 19:27:51 Redhat9 httpd: [Tue Oct 28 19:27:51 2003] [warn] VirtualHost > www.loveness.co.zw:0 overlaps with VirtualHost www.kamutande.co.zw:0, the > first has precedence, perhaps you need a NameVirtualHost directive > Oct 28 19:27:52 Redhat9 httpd: httpd startup succeeded > Oct 28 19:27:53 Redhat9 canna: succeeded > > > Http.conf File > <VirtualHost www.loveness.co.zw> > DocumentRoot /www/love/love.htm > ServerName www.loveness.co.zw > </VirtualHost> > > > <VirtualHost www.kamutande.co.zw> > DocumentRoot /www/kamutande/kamas.htm > ServerName www.kamutande.co.zw > </VirtualHost> > > > May you please assist me on how to solve this problem > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Valhalla-list mailing list > Valhalla-list@(protected) > https://www.redhat.com/mailman/listinfo/valhalla-list > >
|
|
 |