httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] vhost hostname in scoreboard not useful when using
Date Tue, 04 Jan 2000 21:57:41 GMT
Yeah.... only ServerName is used since there are no VirtualHost
wrapper structures being constructed... I'd rather not resort to
string copies for each request. If one is using mod_vhost_alias
it's because (usually) they have a lot of vhosts or want a
simpler conf file or want on-the-fly activation, with the
end goal being a leaner faster server. And string copies don't
help that :)

Cliff Woolley wrote:
> 
> >>> Jim Jagielski <jim@jaguNET.com> 01/04/00 04:16PM >>>
> >I'll have to dig... I'm curious why mod_vhost_alias seems to break
> >this...
> 
> AFAIK, it's simply because for mass vhosts, the Host: header does *not*
> match the virtualhost's ServerName.  At the end of the request_rec's
> lifetime, the name mass virtual host that was accessed goes away.  It's
> really only one apache vhost config record for MANY logical vhosts. 
> That's why I couldn't think of any other way around this than to revert
> to storing the hostname.  <shrug>
> 
> --Cliff
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message