summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_rewrite.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-04-25 20:28:34 +0200
committerStefan Fritsch <sf@apache.org>2011-04-25 20:28:34 +0200
commit3508ccf5a50dada9ec9f77bf0960af6fb926bc7a (patch)
tree9a36dcab5a51264c514a822b27ba1c295e832562 /modules/mappers/mod_rewrite.c
parentavoid useless call to apr_pstrdup (diff)
downloadapache2-3508ccf5a50dada9ec9f77bf0960af6fb926bc7a.tar.xz
apache2-3508ccf5a50dada9ec9f77bf0960af6fb926bc7a.zip
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
Diffstat (limited to '')
-rw-r--r--modules/mappers/mod_rewrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c
index e5381f0b9d..14027d246f 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;
}