httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <efl...@gmx.net>
Subject Re: [PATCH] mod_alias.c - add filename to log warning
Date Sat, 13 Mar 2004 19:40:56 GMT
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.




Mime
View raw message