I just dowloaded and installed mod_ssl 2.7.0 and found a problem in the handling of the SSLSessionCache configuration directive :
- first ( not a bug, just a change ) the file name expected for a SSLSessionCache shm:file /shmht:file directive is now relative to apache's document root.
- second when bulding the path to the shared memory file, it does not strip out the : from the config directive resulting into a failure to allocate the shared memory segment.

here's a small patch that will fix this. ( go in SOURCE_PATH/mod_ssl-2.7.0-1.3.14/pkg.sslmod and run patch -p0 < ssl_engine_config.patch )

hope this helps.
regards

-- 
Charles-Edouard Ruault
 
--- ssl_engine_config.orig.c    Fri Oct 13 15:07:21 2000
+++ ssl_engine_config.c Fri Oct 13 15:07:32 2000
@@ -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) {


Reply via email to