On Fri, Oct 13, 2000, David Rees wrote:
> Sorry, I take that back!!!
>
> You're right, it doesn't work when using the shm ssl cache. I got the same
> error, couldn't open the semaphore file.
> This is using the default install, and just swapping the dbm ssl session
> cache for the shm ssl session cache.
>
> I tried doing a touch on ~apache/logs/ssl_scache, but now ssl requests just
> sit there an never come back.
>
> There was a number of changes in the ssl caching layer, I should have tested
> that pre-release Ralf mentioned a while back.
>
> Ralf, can you look into this, unfortunately, I don't have the time right
> now. :-(
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) {
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]