enabled, but the relevant Options flag allowing the filter to run
for the specific resource wasn't set, so that the filter won't
silently get skipped. next remove itself, so the warning will be
logged only once
PR:
Obtained from:
Submitted by:
Reviewed by: Jeff Trawick, Bill Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102010
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.49
+ *) complain via error_log when mod_include's INCLUDES filter is
+ enabled, but the relevant Options flag allowing the filter to run
+ for the specific resource wasn't set, so that the filter won't
+ silently get skipped. next remove itself, so the warning will be
+ logged only once [Stas Bekman, Jeff Trawick, Bill Rowe]
+
*) mod_info: HTML escape configuration information so it displays
correctly. PR 24232. [Thom May]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/12/10 03:29:30 $]
+Last modified at [$Date: 2003/12/10 08:50:10 $]
Release:
[ please place file names and revisions from HEAD here, so it is easy to
identify exactly what the proposed changes are! ]
- * mod_include: fix silent INCLUDES ignoring when Options aren't
- set by adding a warning
- http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/filters/mod_include.c?r1=1.290&r2=1.291
- and removing the filter itself
- http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/filters/mod_include.c?r1=1.291&r2=1.292
- +1: stas, nd, erikabele
-
* mod_dav: Return a WWW-Auth header for MOVE/COPY requests where
the destination resource gives a 401.
http://cvs.apache.org/viewcvs/httpd-2.0/modules/dav/main/mod_dav.c.diff?r1=1.100&r2=1.101
&include_module);
if (!(ap_allow_options(r) & OPT_INCLUDES)) {
+ ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
+ "mod_include: Options +Includes (or IncludesNoExec) "
+ "wasn't set, INCLUDES filter removed");
+ ap_remove_output_filter(f);
return ap_pass_brigade(f->next, b);
}