]> granicus.if.org Git - apache/commitdiff
use a better text for the overlap warning.
authorAndre Malo <nd@apache.org>
Fri, 14 Feb 2003 18:57:10 +0000 (18:57 +0000)
committerAndre Malo <nd@apache.org>
Fri, 14 Feb 2003 18:57:10 +0000 (18:57 +0000)
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

index 162d319c1870140a847a8be44d3ceea5dfce2872..c7f4c7a9bbbbbc2afa141406266ba351c457f2cc 100644 (file)
@@ -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" : "");