[thelist] Apache virtual Host Problem

John Handelaar john at evolt.org.uk
Fri Aug 29 08:10:12 CDT 2003


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



More information about the thelist mailing list