httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Dean Gaudet)
Subject Re: Host: header patch
Date Thu, 31 Oct 1996 08:25:40 GMT
In article <$>,
Dean Gaudet <> wrote:
>In article <>,
>Brian Behlendorf  <> wrote:
>>This is closer; but it now has the characteristic where either an IP-vhost
>>*must* appear first in the list, *or* all name-vhosts must appear before the
>>first ip-vhost.
>An unrelated bug... patch follows.  (I tested this against your
>httpd.conf.test file on hyperreal, which I'm assuming is one of the
>broken configs you were talking about.)
>default_server_hostnames() calls both gethostbyname and gethostbyaddr
>which use the same static area to store their addresses.  So this
>patch makes a copy of the data it needs from the gethostbyname call.

Oh, P.S.  The only reason this was showing up for you is that the server has no ServerName in your config file.  In that
case it has to do a lookup.


View raw message