From 3508ccf5a50dada9ec9f77bf0960af6fb926bc7a Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 25 Apr 2011 18:28:34 +0000 Subject: [PATCH] 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 --- modules/mappers/mod_rewrite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.47.2