DefaultRuntimeDir
a partial conversion was made in r1299718, affecting cases
where no filename was specified
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1370225 13f79535-47bb-0310-9956-
ffa450edef68
- APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
- core: the scoreboard (ScoreBoardFile) and pid file (PidFile)
- mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
+ - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
[Jeff Trawick]
*) mod_ssl: Add RFC 5878 support. [Ben Laurie]
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
-#SSLSessionCache "dbm:@exp_runtimedir@/ssl_scache"
-SSLSessionCache "shmcb:@exp_runtimedir@/ssl_scache(512000)"
+#SSLSessionCache "dbm:ssl_scache"
+SSLSessionCache "shmcb:ssl_scache(512000)"
SSLSessionCacheTimeout 300
##
dbm:/path/to/datafile
</example>
+ <p>If the path is not absolute then it is assumed to be relative to
+ the <directive module="core">DefaultRuntimeDir</directive>.</p>
+
<p>Details of other shared object cache providers can be found
<a href="../socache.html">here</a>.
</p>
shmcb:/path/to/datafile(512000)
</example>
+ <p>If the path is not absolute then it is assumed to be relative to
+ the <directive module="core">DefaultRuntimeDir</directive>.</p>
+
<p>Details of other shared object cache providers can be found
<a href="../socache.html">here</a>.
</p>
*context = ctx = apr_pcalloc(p, sizeof *ctx);
if (arg && *arg) {
- ctx->data_file = ap_server_root_relative(p, arg);
+ ctx->data_file = ap_runtime_dir_relative(p, arg);
if (!ctx->data_file) {
return apr_psprintf(tmp, "Invalid cache file path %s", arg);
}
return NULL;
}
- ctx->data_file = path = ap_server_root_relative(p, arg);
+ ctx->data_file = path = ap_runtime_dir_relative(p, arg);
cp = strrchr(path, '(');
cp2 = path + strlen(path) - 1;