Ralf,

You're off by one in the shmcb code, too.  :-)  Here's a patch that fixes
that one, too (sorry if it wraps):

--- mod_ssl-2.7.0-1.3.14/pkg.sslmod/ssl_engine_config.c.orig    Mon Oct  9
09:02:56 2000
+++ mod_ssl-2.7.0-1.3.14/pkg.sslmod/ssl_engine_config.c Fri Oct 13 16:36:24
2000
@@ -761,7 +761,7 @@
             return "SSLSessionCache: shared memory cache not useable on
this platform";
         mc->nSessionCacheMode      = SSL_SCMODE_SHMCB;
         mc->szSessionCacheDataFile = ap_pstrdup(mc->pPool,
-                                     ap_server_root_relative(cmd->pool,
arg+5));
+                                     ap_server_root_relative(cmd->pool,
arg+6));
         mc->tSessionCacheDataTable = NULL;
         mc->nSessionCacheDataSize  = 1024*512; /* 512KB */
         if ((cp = strchr(mc->szSessionCacheDataFile, '(')) != NULL) {


-Dave


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ralf S. Engelschall
>
> Ah, shit happens. I've forgotten a simple +1. Apply the following patch
> and it will work.
>
> Index: ssl_engine_config.c
> ===================================================================
> RCS file:
> /e/modssl/cvs/mod_ssl/pkg.apache/src/modules/ssl/ssl_engine_config.c,v
> retrieving revision 1.73
> diff -u -d -r1.73 ssl_engine_config.c
> --- ssl_engine_config.c       2000/10/09 16:02:28     1.73
> +++ ssl_engine_config.c       2000/10/13 21:14:58
> @@ -738,7 +738,7 @@
>          mc->nSessionCacheMode      = SSL_SCMODE_SHMHT;
>          cp = strchr(arg, ':');
>          mc->szSessionCacheDataFile = ap_pstrdup(mc->pPool,
> -
> ssl_util_server_root_relative(cmd->pool, "scache", cp));
> +
> ssl_util_server_root_relative(cmd->pool, "scache", cp+1));
>          mc->tSessionCacheDataTable = NULL;
>          mc->nSessionCacheDataSize  = 1024*512; /* 512KB */
>          if ((cp = strchr(mc->szSessionCacheDataFile, '(')) != NULL) {

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to