From f983c2a36c99c8e34af8c425d0b85ef6eca09b53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Fri, 14 Feb 2003 18:57:10 +0000 Subject: [PATCH] use a better text for the overlap warning. Submitted by: Joshua Slive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98658 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_alias.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index 162d319c18..c7f4c7a9bb 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -180,10 +180,9 @@ static const char *add_alias_internal(cmd_parms *cmd, void *dummy, if ( !p->regexp && alias_matches(f, p->fake) > 0 || p->regexp && !ap_regexec(p->regexp, f, 0, NULL, 0)) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, - "The %s command in line %d will probably never " - "match. Check previous %sAlias%s commands for " - "overlappings.", cmd->cmd->name, - cmd->directive->line_num, + "The %s directive at line %d will probably never " + "match because it overlaps an earlier %sAlias%s.", + cmd->cmd->name, cmd->directive->line_num, p->handler ? "Script" : "", p->regexp ? "Match" : ""); -- 2.50.1