summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2024-07-24 14:48:10 +0200
committerJoe Orton <jorton@apache.org>2024-07-24 14:48:10 +0200
commit400d4e121fecf60f3450a2ef7d5ccf1c992530cb (patch)
tree2b2cb3f7da006f3faf6391c163a2e1a4f64c52e5 /modules
parentReenable test class, upstream bug fixed in pebble. (diff)
downloadapache2-400d4e121fecf60f3450a2ef7d5ccf1c992530cb.tar.xz
apache2-400d4e121fecf60f3450a2ef7d5ccf1c992530cb.zip
* modules/core/mod_so.c (load_module): Log the file/lineno for a
duplicated LoadModule since it's often a symptom of some deeper mis-configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919496 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/core/mod_so.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/core/mod_so.c b/modules/core/mod_so.c
index f5d18c1740..26ed8cd821 100644
--- a/modules/core/mod_so.c
+++ b/modules/core/mod_so.c
@@ -210,8 +210,10 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
modi = &modie[i];
if (modi->name != NULL && strcmp(modi->name, modname) == 0) {
ap_log_perror(APLOG_MARK, APLOG_WARNING, 0, cmd->pool, APLOGNO(01574)
- "module %s is already loaded, skipping",
- modname);
+ "module %s is already loaded, skipping "
+ "(from LoadModule on line %d of %s)",
+ modname, cmd->config_file->line_number,
+ cmd->config_file->name);
return NULL;
}
}