From: Graham Leggett Date: Tue, 2 Oct 2012 17:02:44 +0000 (+0000) Subject: mod_include: When +Includes is not set and we disable mod_include, tell X-Git-Tag: 2.5.0-alpha~6247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53dfcf75e54e6c2c1ac786e7624e93164a02dca7;p=apache mod_include: When +Includes is not set and we disable mod_include, tell the administrator where this happened. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1393033 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 3d6e8e61d7..19bcae2540 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -3819,7 +3819,7 @@ static apr_status_t includes_filter(ap_filter_t *f, apr_bucket_brigade *b) if (!(ap_allow_options(r) & OPT_INCLUDES)) { ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01374) "mod_include: Options +Includes (or IncludesNoExec) " - "wasn't set, INCLUDES filter removed"); + "wasn't set, INCLUDES filter removed: %s", r->uri); ap_remove_output_filter(f); return ap_pass_brigade(f->next, b); }