You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2010/05/20 20:55:40 UTC
svn commit: r946756 - in /httpd/httpd/branches/2.2.x/docs/manual/mod:
mod_headers.html.en mod_headers.xml
Author: covener
Date: Thu May 20 18:55:40 2010
New Revision: 946756
URL: http://svn.apache.org/viewvc?rev=946756&view=rev
Log:
backport 946616 and 946617 from trunk:
PR49308: Header directive doesn't see CGI-issued headers because they live in err_headers.
emphasize request/response in the timing description, easy to miss the significance
Modified:
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.html.en
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.xml
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.html.en?rev=946756&r1=946755&r2=946756&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.html.en Thu May 20 18:55:40 2010
@@ -70,8 +70,8 @@ headers</td></tr>
<div class="section">
<h2><a name="early" id="early">Early and Late Processing</a></h2>
<p><code class="module"><a href="../mod/mod_headers.html">mod_headers</a></code> can be applied either early or late
- in the request. The normal mode is late, when Request Headers are
- set immediately before running the content generator and Response
+ in the request. The normal mode is late, when <em>Request</em> Headers are
+ set immediately before running the content generator and <em>Response</em>
Headers just as the response is sent down the wire. Always use
Late mode in an operational server.</p>
@@ -222,6 +222,11 @@ headers</td></tr>
successful responses, and is always needed to affect non-<code>2<var>xx</var></code>
responses such as redirects or client errors.</p>
+ <div class="note"><h3>CGI</h3>
+ <p>To manipulate headers set by CGI scripts, it is necessary to specify
+ <code>always</code> for the first parameter.</p>
+ </div>
+
<p>The action it performs is determined by the first
argument (second argument if a <var>condition</var> is specified).
This can be one of the following values:</p>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.xml?rev=946756&r1=946755&r2=946756&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_headers.xml Thu May 20 18:55:40 2010
@@ -58,8 +58,8 @@ headers</description>
<section id="early"><title>Early and Late Processing</title>
<p><module>mod_headers</module> can be applied either early or late
- in the request. The normal mode is late, when Request Headers are
- set immediately before running the content generator and Response
+ in the request. The normal mode is late, when <em>Request</em> Headers are
+ set immediately before running the content generator and <em>Response</em>
Headers just as the response is sent down the wire. Always use
Late mode in an operational server.</p>
@@ -306,6 +306,11 @@ headers</description>
successful responses, and is always needed to affect non-<code>2<var>xx</var></code>
responses such as redirects or client errors.</p>
+ <note><title>CGI</title>
+ <p>To manipulate headers set by CGI scripts, it is necessary to specify
+ <code>always</code> for the first parameter.</p>
+ </note>
+
<p>The action it performs is determined by the first
argument (second argument if a <var>condition</var> is specified).
This can be one of the following values:</p>