Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 81874 invoked from network); 13 Mar 2004 19:41:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Mar 2004 19:41:49 -0000 Received: (qmail 7708 invoked by uid 500); 13 Mar 2004 19:41:34 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 7667 invoked by uid 500); 13 Mar 2004 19:41:34 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 7652 invoked from network); 13 Mar 2004 19:41:33 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 13 Mar 2004 19:41:33 -0000 Received: (qmail 30943 invoked by uid 65534); 13 Mar 2004 19:41:34 -0000 Received: from p50927ACC.dip.t-dialin.net (EHLO wstst06) (80.146.122.204) by mail.gmx.net (mp008) with SMTP; 13 Mar 2004 20:41:34 +0100 X-Authenticated: #1766531 Date: Sat, 13 Mar 2004 20:40:56 +0100 From: Guenter Knauf Reply-To: Guenter Knauf To: dev@httpd.apache.org Subject: Re: [PATCH] mod_alias.c - add filename to log warning Message-ID: References: X-Mailer: AK-Mail 3.5 [ger] (registered, single user license) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mar 9, 2004, at 9:00 AM, Dirk-Willem van Gulik wrote: > On Mar 9, 2004, at 2:25 AM, Guenter Knauf wrote: >> --- mod_alias.c.orig Tue Feb 10 00:16:10 2004 >> +++ mod_alias.c Mon Mar 08 22:06:20 2004 >> @@ -137,9 +137,10 @@ >> 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 directive at line %d will >> probably never " >> + "The %s directive in %s at line %d will >> probably never " >> "match because it overlaps an earlier >> %sAlias%s.", >> - cmd->cmd->name, cmd->directive->line_num, >> + cmd->cmd->name, cmd->directive->filename, >> + cmd->directive->line_num, >> p->handler ? "Script" : "", >> p->regexp ? "Match" : ""); >> > +1 - this has bitten me more than once. me and a lot of users too; can you perhaps commit it? thanks, Guenter.