httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Woolley" <jwool...@wlu.edu>
Subject [PATCH] vhost hostname in scoreboard not useful when using mod_vhost_alias
Date Tue, 04 Jan 2000 20:49:43 GMT

Hey all...

   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.
 Attached is a five-line patch across three files that fixes this
problem.  The line numbers might be a little off because I haven't
applied some of the (unrelated) patches since 1.3.9 in the CVS tree,
though it's a very straightforward patch so it should be easy to merge
in.  The theory is simple: store the r->hostname in the short_score
struct (just like the r->client is stored) in addition to the pointer to
the vhost server_rec.

Thoughts?

--Cliff


Cliff Woolley
Central Systems Software Administrator
Washington and Lee University
http://www.wlu.edu/~jwoolley/

Work: (540) 463-8089
Pager: (540) 462-2303

Mime
View raw message