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 Wed, 05 Jan 2000 17:01:17 GMT
Tony Finch wrote:
> 
> Tony Finch <dot@dotat.at> wrote:
> >"Cliff Woolley" <jwoolley@wlu.edu> wrote:
> >>
> >>   I noticed a little problem today with the way the scoreboard in
> >>1.3.9 stores the vhost information for display in mod_status when using
> >>mod_vhost_alias.  The vhost's hostname is the only one stored, not the
> >>request hostname, which is what we really want to see out of mod_status.
> >
> >Sometimes :-) (see the UseCanonicalName DNS option)
> >
> >The real fix here would be to have mod_status use ap_get_server_name
> >so that it reflects how the server has been configured. This requires
> >adding a reference to the request_req to the scoreboard (perhaps
> >instead of the server_req).
> 
> And if you would like a patch, this compiles but I haven't tested it.
> This avoids the string-copying that the previous patch did.
> 

Unfortunately, we can't use request_rec since it's very transient.
That's why we need to string store other request related stuff :/
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message