httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <>
Subject Re: HELP
Date Thu, 30 May 1996 16:23:19 GMT
On Thu, 30 May 1996, Trung Dung wrote:

> 1. What is the best way to deal with apache versioning string? 
>    Can it be done through Configuration somehow? 

I'm not quite sure what you mean by this... if you mean "how can my
module determine what version of Apache it's running under", well,
actually, there's a simple way to do that, but we forgot to make it
simple in 1.1b1 and 1.1b2, so you'd have to wait for 1.1b3...

if you #include "http_config.h", you'll find MODULE_MAGIC_NUMBER
defined to be a date, which should be the date the API was last
changed. As I said, we forgot to do this for the changes we made prior
to 1.1b3, but when that's released (hopefully soon), you'll be able to
use an #if statement to write code for older and newer APIs.

Alexei Kosut <>      The Apache HTTP Server
      "War does not determine who is right, only who is left."

View raw message