From 72ccaa2ac09d5f1c373cf6c5c39445ef01cde39e Mon Sep 17 00:00:00 2001 From: Ian Holsman Date: Mon, 19 Aug 2002 20:40:08 +0000 Subject: [PATCH] Make module loading error messages more informative Bug #11213 Obtained from: Ian Darwin Reviewed by: Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96449 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ server/config.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9e864d3349..edb4651409 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.41 + *) Bug #11213.. make module loading error messages more informative + [Ian Darwin ] + *) thread safety & proxy-ftp [Alexey Panchenko alexey@liwest.ru, Ian Holsman] *) mod_disk_cache works much better. This module should still diff --git a/server/config.c b/server/config.c index 4a0a6ea0d0..1ca924eea8 100644 --- a/server/config.c +++ b/server/config.c @@ -451,7 +451,9 @@ AP_DECLARE(void) ap_add_module(module *m, apr_pool_t *p) if (m->version != MODULE_MAGIC_NUMBER_MAJOR) { ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "%s: module \"%s\" is not compatible with this " - "version of Apache.", ap_server_argv0, m->name); + "version of Apache (found %d, need %d).", + ap_server_argv0, m->name, m->version, + MODULE_MAGIC_NUMBER_MAJOR); ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "Please contact the vendor for the correct version."); exit(1); -- 2.50.1