From: Ian Holsman Date: Mon, 19 Aug 2002 20:40:08 +0000 (+0000) Subject: Make module loading error messages more informative X-Git-Tag: AGB_BEFORE_AAA_CHANGES~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ccaa2ac09d5f1c373cf6c5c39445ef01cde39e;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/CHANGES b/CHANGES index 9e864d33492..edb46514096 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 4a0a6ea0d07..1ca924eea85 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);