Return-Path:
Delivered-To: apmail-httpd-cvs-archive@www.apache.org
Received: (qmail 86362 invoked from network); 16 Oct 2009 17:04:19 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 16 Oct 2009 17:04:19 -0000
Received: (qmail 92073 invoked by uid 500); 16 Oct 2009 17:04:19 -0000
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 92012 invoked by uid 500); 16 Oct 2009 17:04:19 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 92003 invoked by uid 99); 16 Oct 2009 17:04:19 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:04:19 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 17:04:16 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id 99AF9238888D; Fri, 16 Oct 2009 17:03:55 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r826005 - in /httpd/httpd/trunk/docs/manual/mod:
mod_headers.html.en mod_headers.xml
Date: Fri, 16 Oct 2009 17:03:55 -0000
To: cvs@httpd.apache.org
From: covener@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20091016170355.99AF9238888D@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: covener
Date: Fri Oct 16 17:03:55 2009
New Revision: 826005
URL: http://svn.apache.org/viewvc?rev=826005&view=rev
Log:
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.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en
httpd/httpd/trunk/docs/manual/mod/mod_headers.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en?rev=826005&r1=826004&r2=826005&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en Fri Oct 16 17:03:55 2009
@@ -217,12 +217,13 @@
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:
Modified: httpd/httpd/trunk/docs/manual/mod/mod_headers.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_headers.xml?rev=826005&r1=826004&r2=826005&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_headers.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_headers.xml Fri Oct 16 17:03:55 2009
@@ -302,12 +302,13 @@
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: