From: André Malo Date: Thu, 19 Aug 2004 22:53:13 +0000 (+0000) Subject: Fix regression from 1.3: X-Git-Tag: STRIKER_2_0_51_RC1^2~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ecb8d10772255209a8b6551ffbf9150aaa00b5;p=thirdparty%2Fapache%2Fhttpd.git Fix regression from 1.3: There's a new optional flag for the Header directive ('always'), which keeps the former ErrorHeader functionality. The opposite flag to 'always' is 'onsuccess'. So the new directives are written as: Header set foo bar # which is the same as Header onsuccess set foo bar # and a subset of Header always set foo bar # which is what the ErrorHeader directive did. PR: 28657 Obtained from: 2.1 Reviewed by: Brad Nicholes, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104732 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d1702bedd1f..25caa0861a5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,11 @@ Changes with Apache 2.0.51 + *) Backport from 2.1 / Regression from 1.3: mod_headers now knows + again the functionality of the ErrorHeader directive. But instead + using this misnomer additional flags to the Header directive were + introduced ("always" and "onsuccess", defaulting to the latter). + PR 28657. [André Malo] + *) Use the higher performing 'httpready' Accept Filter on all platforms except FreeBSD < 4.1.1. [Paul Querna] diff --git a/STATUS b/STATUS index 38778ae98ad..21e8c3ae1fa 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2004/08/19 18:55:47 $] +Last modified at [$Date: 2004/08/19 22:53:12 $] Release: @@ -213,13 +213,6 @@ PATCHES TO BACKPORT FROM 2.1 server/config.c: r1.175 +1: nd - *) mod_headers: Regression from 1.3: There's no ErrorHeader directive. - Since this was always a misnomer, it was dropped in 2.1 and - Header was extended instead. Backport this from 2.1 and document - this in the upgrading docs. A 2.0 patch is here: - http://www.apache.org/~nd/header_always_2.0.diff - +1: nd, bnicholes, jorton - *) mod_rewrite: Fix confused map cache (with maps in different VHs using the same name). PR 26462. (2.0 + 1.3) A patch for 1.3 is here (2.0 goes similar): diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml index 4ff09f1a299..d086627ca4b 100644 --- a/docs/manual/mod/mod_headers.xml +++ b/docs/manual/mod/mod_headers.xml @@ -1,7 +1,7 @@ - + +