From: Eric Covener Date: Fri, 16 Oct 2009 17:03:55 +0000 (+0000) Subject: mention that "Header onsuccess" is the default and reword the description X-Git-Tag: 2.3.3~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc84ba8cee75449e81b49a76f9509fd12f77ff54;p=apache mention that "Header onsuccess" is the default and reword the description of "Header always" to talk less about implementation details and more about the FAQ of redirects or 401's. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@826005 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_headers.html.en b/docs/manual/mod/mod_headers.html.en index b0448a7f60..c9a58f783a 100644 --- a/docs/manual/mod/mod_headers.html.en +++ b/docs/manual/mod/mod_headers.html.en @@ -217,12 +217,13 @@ headers and output filters are run, allowing outgoing headers to be modified.

-

The optional condition can be either onsuccess - or always. It determines, which internal header table should be - operated on. onsuccess stands for 2xx - status codes and always for all status codes (including - 2xx). Especially if you want to unset headers - set by certain modules, you should try out, which table is affected.

+

By default, this directive only affects successful responses (responses + in the 2xx range). The optional condition + can be either onsuccess (default) or always (all + status codes, including successful responses). A value of always + may be needed to influence headers set by some internal modules even for + successful responses, and is always needed to affect non-2xx + responses such as redirects or client errors

.

The action it performs is determined by the second argument. This can be one of the following values:

diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml index 8fd54a4bda..4ba00c140f 100644 --- a/docs/manual/mod/mod_headers.xml +++ b/docs/manual/mod/mod_headers.xml @@ -302,12 +302,13 @@ headers and output filters are run, allowing outgoing headers to be modified.

-

The optional condition can be either onsuccess - or always. It determines, which internal header table should be - operated on. onsuccess stands for 2xx - status codes and always for all status codes (including - 2xx). Especially if you want to unset headers - set by certain modules, you should try out, which table is affected.

+

By default, this directive only affects successful responses (responses + in the 2xx range). The optional condition + can be either onsuccess (default) or always (all + status codes, including successful responses). A value of always + may be needed to influence headers set by some internal modules even for + successful responses, and is always needed to affect non-2xx + responses such as redirects or client errors

.

The action it performs is determined by the second argument. This can be one of the following values: