From: Stefan Fritsch Date: Mon, 25 Apr 2011 18:28:34 +0000 (+0000) Subject: Report filename and line number in config warning X-Git-Tag: 2.3.12~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3508ccf5a50dada9ec9f77bf0960af6fb926bc7a;p=thirdparty%2Fapache%2Fhttpd.git Report filename and line number in config warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096551 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index e5381f0b9df..14027d246fa 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3304,7 +3304,8 @@ static const char *cmd_rewritecond(cmd_parms *cmd, void *in_dconf, (newcond->flags & CONDFLAG_NOCASE)) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, "RewriteCond: NoCase option for non-regex pattern '%s' " - "is not supported and will be ignored.", a2); + "is not supported and will be ignored. (%s:%d)", a2, + cmd->directive->filename, cmd->directive->line_num); newcond->flags &= ~CONDFLAG_NOCASE; }