Re: Apache-SSL giving me odd results

From: The Doctor (doctor_at_doctor.nl2k.ab.ca)
Date: 12/30/04


Date: Wed, 29 Dec 2004 23:22:12 +0000 (UTC)

In article <41D3058B.C17C3C6@amit.cz>, Ludek <ngposter@email.cz> wrote:
>The Doctor wrote:
>>
>> Problem, I have 2 site that are suppose to be on port 80 and
>> they are going to the FreeBSD Installed page instead.
>...
>> http://www.dynamicsi.com which should go to http://www.dynamicsi.com/index.htm
>>
>> and
>>
>> http://www.winfash.com which should go to http://www.winfash.com/index.htm
>...
>> This is what I have in the httpsd.conf file:
>>
>> <VirtualHost 216.95.238.209:80>
>...
>> ServerName dynamicsi.com
>!!!
>...
>> <VirtualHost 216.95.238.211:80>
>...
>> ServerName winfash.com
>!!!
>...
>> </VirtualHost>
>> #
>>
>> What cann I not get dymanicsi or winfash to behave themselves?
>
>That's because neither www.dynamicsi.com nor www.winfash.com match any
>of the entries above.
>ServerNames in the VirtualHost directives which you probably expect to
>match the names are dynamicsi.com and winfash.com, respectively, and no
>ServerAlias is set.
>Correct the ServerNames and/or add desired ServerAliases, if any, and it
>should work.
>
>> In between the entry for cottage-computers.com is running correctly.
>
>Yes but I suppose that www.cottage-computers.com doesn't work for the
>same reason.
>
>Ludek

When I tested out based on IP, I was getting the same result.

-- 
Member - Liberal International	
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Merry Christmas 2004 and Happy New Year 2005


Relevant Pages

  • Re: Apache-SSL giving me odd results
    ... The Doctor wrote: ... > ServerName dynamicsi.com ... same reason. ... Ludek ...
    (comp.unix.bsd.freebsd.misc)
  • Apache-SSL giving me odd results
    ... I have 2 site that are suppose to be on port 80 and ... DirectoryIndex index.htm index.html ... ServerName cottage-computers.com ... Member - Liberal International ...
    (comp.unix.bsd.freebsd.misc)