Skip to content

Commit

Permalink
* modules/core/mod_so.c (load_module): Log the file/lineno for a
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
notroj committed Jul 24, 2024
1 parent 0e30f59 commit 400d4e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/core/mod_so.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 400d4e1

Please sign in to comment.