]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Report filename and line number in config warning
authorStefan Fritsch <sf@apache.org>
Mon, 25 Apr 2011 18:28:34 +0000 (18:28 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 25 Apr 2011 18:28:34 +0000 (18:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096551 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index e5381f0b9df8db11951a582db89491b6fe190fe3..14027d246fa94f45b1125341ccfce6923940c557 100644 (file)
@@ -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;
     }