1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

make LDAPSharedCacheFile relative to DefaultRuntimeDir

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2012-08-10 12:23:41 +00:00
parent 5a6681fe7c
commit 9d937659e3
3 changed files with 9 additions and 5 deletions

View File

@@ -29,6 +29,7 @@ Changes with Apache 2.5.0
mutexes (Mutex)
- mod_auth_digest: shared memory file
- mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
- mod_ldap: shared memory cache
- mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
[Jeff Trawick]

View File

@@ -418,13 +418,16 @@ LDAPTrustedGlobalCert CA_BASE64 /certs/cacert2.pem
<directivesynopsis>
<name>LDAPSharedCacheFile</name>
<description>Sets the shared memory cache file</description>
<syntax>LDAPSharedCacheFile <var>directory-path/filename</var></syntax>
<syntax>LDAPSharedCacheFile <var>file-path</var></syntax>
<contextlist><context>server config</context></contextlist>
<usage>
<p>Specifies the directory path and file name of the shared memory
cache file. If not set, anonymous shared memory will be used if the
platform supports it.</p>
<p>Specifies the path of the shared memory cache file. If not set,
anonymous shared memory will be used if the platform supports it.</p>
<p>If <var>file-path</var> is not an absolute path, the location specified
will be relative to the value of
<directive module="core">DefaultRuntimeDir</directive>.</p>
</usage>
</directivesynopsis>

View File

@@ -2103,7 +2103,7 @@ static const char *util_ldap_set_cache_file(cmd_parms *cmd, void *dummy,
}
if (file) {
st->cache_file = ap_server_root_relative(st->pool, file);
st->cache_file = ap_runtime_dir_relative(st->pool, file);
}
else {
st->cache_file = NULL;