>Number: 1197
>Category: general
>Synopsis: VirtualHost directives don't respond to all the IP's that a
>name might resolve to.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Oct 3 19:10:01 1997
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2.1
>Environment:
Linux 1.2.30, using GCC
>Description:
The VirtHost directive does not respond properly when a name given in the
virtual
host field resolves out to more than one IP address. For the second or more IP,
it will use the default setting instead of the VirtualHost settings. This is
bad
for environments where for redundancy or other reasons, each virtual host has
more than one IP address. I demonstrated it with the IP address both being on
the same server, and the server only handled the first IP properly.
>How-To-Repeat:
put more than one A record for a domain in the DNS and then force it to use
both.
A recent version of Lynx makes this easy to demonstrate--to to the referenced
URL with Lynx, exit, then do it again. The second time it should show up as
the default for the server or that IP.
>Fix:
For each virthost, allow more than one Ip address to be handled
>Audit-Trail:
>Unformatted: