]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Drop the ErrorHeader directive which turned out to be a misnomer.
authorAndré Malo <nd@apache.org>
Fri, 11 Jun 2004 21:41:27 +0000 (21:41 +0000)
committerAndré Malo <nd@apache.org>
Fri, 11 Jun 2004 21:41:27 +0000 (21:41 +0000)
commit8fb0fc2705562c8addd8422c85eb67cc4ebdc1e2
tree7bb6a60bd34d5cffae7caa326947764045b75690
parent160a26469802346138c9b99211c6b3a0ecd01bf2
Drop the ErrorHeader directive which turned out to be a misnomer.
Instead 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.

Reviewed by: Brad Nicholes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103920 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/metadata/mod_headers.c