[thelist] Apache virtual Host Problem | solved

Ali Almutawa aamutawa at batelco.com.bh
Fri Aug 29 11:06:17 CDT 2003


Jh,

Ok , You are right, the www in front of the site name did solve the
problem and it is working ok now, but I didn't get we one site works and
the other not. Anyway, that what I was looking for. 

Thanks allot Jh, and for all the guyz in the list.

Regards, Ali Almutawa

-----Original Message-----
From: Ali Almutawa [mailto:aamutawa at batelco.com.bh] 
Sent: Friday, August 29, 2003 5:16 PM
To: 'thelist at lists.evolt.org'
Subject: RE: [thelist] Apache virtual Host Problem

Jh,

Thanks for your probpt reply, yes your are right, I am setting this in a
testing environment, this is why I am using the /etc/hosts file to do
the local name resolving. And it is working for the www.firsthost.com,
the aliases also pointing to the right pages, but only the
www.secondhost is not. The question I need to know its answer, whey
firsthost is ok and secondhost is not.

Regards,
Ali

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of John Handelaar
Sent: Friday, August 29, 2003 4:10 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] Apache virtual Host Problem

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Ali Almutawa
> Sent: 28 August 2003 23:29
> To: thelist at lists.evolt.org
> Subject: [thelist] Apache virtual Host Problem
> 
> I have managed to configure my apache httpd.conf file to show me the
> default page on http://127.0.0.1 , as well manged to create a virtual
> host called www.firsthost.com and its alias "first" which both work
> fine. I have added another host which is called secondhost.com and its
> alias "second", here where the problem appears. When going to
> www.secondhost.com I got the index file of the www.firsthost.com,
while
> if I typed the alias name "second" it will show the coorect index file
> for secondhost.com.

You don't have 'www.firsthost.com' or 'www.secondhost.com'
set as server aliases in httpd.conf.  Add them :-)

jh
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 




More information about the thelist mailing list