*) mod_ldap: LDAP caching was suppressed (and ldap-status handler returns
title page only) when any mod_ldap directives were used in VirtualHost
context. [Eric Covener]
Reviewed By: covener, wrowe, trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@963086
13f79535-47bb-0310-9956-
ffa450edef68
mod_proxy_ajp, mod_proxy_http, mod_reqtimeout: Fix timeout detection
for platforms Windows, Netware and OS2. PR: 49417. [Rainer Jung]
+ *) mod_ldap: LDAP caching was suppressed (and ldap-status handler returns
+ title page only) when any mod_ldap directives were used in VirtualHost
+ context. [Eric Covener]
+
*) mod_ssl: Fix segfault at startup if proxy client certs are shared
across multiple vhosts. PR 39915. [Joe Orton]
option in the docs page, like e.g. we did for SSLInsecureRenegotiation.
wrowe asks; you mean <Compatibility> tag? Yes, of course.
- *) mod_ldap: LDAP caching was suppressed (and ldap-status handler returns
- title page only) when any mod_ldap directives were used in VirtualHost
- context.
- Trunk Patch: http://svn.apache.org/viewvc?rev=951235&view=rev (actual fix)
- http://svn.apache.org/viewvc?rev=951237&view=rev (error msg not displayed)
- 2.2.x patch: http://people.apache.org/~covener/2.2.x-ldap_serverconfig.diff
- note: No actual per-server directives in 2.2.x mod_ldap, but per-directory
- mod_ldap directives under a virtualhost are sufficient to trigger this merge issue)
- +1: covener, wrowe, trawick
-
*) mod_proxy_ajp: Ensure that we only return a non fatal error if the request
is idempotent and if we did not sent any request body so far.
Trunk version of patch:
return st;
}
+/* cache-related settings are not merged here, but in the post_config hook,
+ * since the cache has not yet sprung to life
+ */
static void *util_ldap_merge_config(apr_pool_t *p, void *basev,
void *overridesv)
{
st_vhost->cache_shm = st->cache_shm;
st_vhost->cache_rmm = st->cache_rmm;
st_vhost->cache_file = st->cache_file;
+ st_vhost->util_ldap_cache = st->util_ldap_cache;
ap_log_error(APLOG_MARK, APLOG_DEBUG, result, s,
"LDAP merging Shared Cache conf: shm=0x%pp rmm=0x%pp "
"for VHOST: %s", st->cache_shm, st->cache_rmm,
if (!util_ldap_cache) {
- return "<tr valign='top'><td nowrap colspan=7>Cache has not been enabled/initialised.</td></tr>";
+ ap_rputs("<tr valign='top'><td nowrap colspan=7>Cache has not been enabled/initialised.</td></tr>", r);
+ return NULL;
}
if (r->args && strlen(r->args)) {