diff options
author | Eric Covener <covener@apache.org> | 2013-09-08 22:04:06 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2013-09-08 22:04:06 +0200 |
commit | 46d97009e1351ed3205bbe1894963b8e2367d927 (patch) | |
tree | 8ae1b91ed6e2c89b1f94453d1362099664c3fc7e /docs | |
parent | install cache_common.h; add notes on other files that aren't installed (diff) | |
download | apache2-46d97009e1351ed3205bbe1894963b8e2367d927.tar.xz apache2-46d97009e1351ed3205bbe1894963b8e2367d927.zip |
add "Header note" which was the solution for two users this week on IRC.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520908 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/mod/mod_headers.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml index 774cadc4f6..68ba926add 100644 --- a/docs/manual/mod/mod_headers.xml +++ b/docs/manual/mod/mod_headers.xml @@ -300,7 +300,7 @@ Header merge Cache-Control no-store env=NO_STORE <directivesynopsis> <name>Header</name> <description>Configure HTTP response headers</description> -<syntax>Header [<var>condition</var>] add|append|echo|edit|edit*|merge|set|unset +<syntax>Header [<var>condition</var>] add|append|echo|edit|edit*|merge|set|unset|note <var>header</var> [<var>value</var>] [<var>replacement</var>] [early|env=[!]<var>variable</var>]|expr=<var>expression</var>] </syntax> @@ -400,6 +400,13 @@ Header merge Cache-Control no-store env=NO_STORE <dd>The response header of this name is removed, if it exists. If there are multiple headers of the same name, all will be removed. <var>value</var> must be omitted.</dd> + + <dt><code>note</code></dt> + <dd>The value of the named response <var>header</var> is copied into an + internal note whose name is given by <var>value</var>. This is useful + if a header sent by a CGI or proxied resource is configured to be unset + but should also be logged.</dd> + </dl> <p>This argument is followed by a <var>header</var> name, which |