httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@leland.Stanford.EDU>
Subject Re: [PATCH] mod_status/1448: Status Information should display server version and build date (fwd)
Date Sat, 22 Nov 1997 11:19:02 GMT
On Sat, 22 Nov 1997, Ben Laurie wrote:

> Alexei Kosut wrote:
> > 
> > On Fri, 21 Nov 1997, Dean Gaudet wrote:
> > 
> > > +       rvputs(r, "Server Version: ",SERVER_VERSION, "<br>\n", NULL);
> > 
> > This seems to me to have some implicit problems if mod_status is compiled
> > as a shared library and not a built-in module. In fact, I suspect there
> > are some similar problems with other information provided by mod_status (I
> > haven't checked), if the module is used with a different version of Apache
> > than it is compiled for.
> 
> Errr ... why?

If the module is compiled under, say, Apache 1.3b7, as a shared library,
the version, because it's a #define, gets inserted into the mod_status
library. If I then load this module under Apache 1.3.2, say, and pull up
the status page, it will still say "Apache/1.3b7", even though I'm now
running 1.3.2.

That's why.

-- Alexei Kosut <akosut@stanford.edu> <http://www.stanford.edu/~akosut/>
   Stanford University, Class of 2001 * Apache <http://www.apache.org> *



Mime
View raw message