Greets,

the patch below allows mod_ssl to correctly read the apache version
number when the SERVER_BASEVERSION definition in the
$apache/src/include/httpd.h file has been altered to reflect an internal
configuration.

eg.  "Apache/1.3.9 GestaltBuild/1.4.0 RnDTeam"

..will cause mod_ssl great distress since the stripping regex in
mod_ssl's `configure' doesn't handle anything past the revision number.

In any case, if someone's modified too much of the apache core, all bets
are off... but, in the case of minor performance twiddling the patch
below nicely fixes it.

Regards,
-dsp

########### start patch ##############
--- configure   Fri Aug 20 15:34:28 1999
+++ configure   Fri Aug 20 15:35:26 1999
@@ -296,7 +296,7 @@
     fi
     APV=`cat $apache/src/include/httpd.h |\
          grep "#define SERVER_BASEVERSION" |\
-         sed -e 's/^[^"]*"//' -e 's/".*$//' -e 's/^Apache\///'`
+         sed -e 's/^[^"]*"//' -e 's/".*$//' -e 's/^Apache\///' -e 's/
.*$//'`
 fi
 if [ .$force != .yes ]; then
     if [ ".$V_APACHE" != ".$APV" ]; then
########### end patch #################
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to