diff options
author | Sebastian Reitenbach <sebastia@cvs.openbsd.org> | 2010-09-26 12:11:33 +0000 |
---|---|---|
committer | Sebastian Reitenbach <sebastia@cvs.openbsd.org> | 2010-09-26 12:11:33 +0000 |
commit | 7be9483015dbb094040b50cf42647f6c1b0afb94 (patch) | |
tree | 195a8452606ac24fcf804d430a65db0c0d88d74d /usr.sbin/httpd/htdocs/manual | |
parent | 9ff48573a05dd783f9d40fcc11d521bdfbd2742f (diff) |
Allow mod_headers to handle RequestHeader directives known from apache2,
and update documentation accordingly.
Patch mostly based on an old patch from Martin Algesten he posted
2002 in apache bugzilla entry: 10772
OK, pyr@
Diffstat (limited to 'usr.sbin/httpd/htdocs/manual')
-rw-r--r-- | usr.sbin/httpd/htdocs/manual/mod/mod_headers.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_headers.html b/usr.sbin/httpd/htdocs/manual/mod/mod_headers.html index c2984d99dab..663e3b8eea6 100644 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_headers.html +++ b/usr.sbin/httpd/htdocs/manual/mod/mod_headers.html @@ -44,6 +44,7 @@ <ul> <li><a href="#header">Header</a></li> <li><a href="#errorheader">ErrorHeader</a></li> + <li><a href="#requestheader">RequestHeader</a></li> </ul> <hr /> @@ -164,6 +165,33 @@ Header unset Author more information on the syntax. </P> + <h2><a id="requestheader" name="requestheader">RequestHeader</a> directive</h2> + <a href="directive-dict.html#Syntax" + rel="Help"><strong>Syntax:</strong></a> RequestHeader set|append|add + <em>header</em> <em>value</em><br /> + <a href="directive-dict.html#Syntax" + rel="Help"><strong>Syntax:</strong></a> RequestHeader unset + <em>header</em><br /> + <a href="directive-dict.html#Context" + rel="Help"><strong>Context:</strong></a> server config, virtual + host, access.conf, .htaccess<br /> + <a href="directive-dict.html#Override" + rel="Help"><strong>Override:</strong></a> FileInfo<br /> + <a href="directive-dict.html#Status" + rel="Help"><strong>Status:</strong></a> Extension<br /> + <a href="directive-dict.html#Module" + rel="Help"><strong>Module:</strong></a> mod_headers + + <p>This directive can replace, merge or remove HTTP request + headers. As opposed to the <a href="#header">Header</a> directive, + this directive modifies incoming request headers instead of outgoing + responses. + </p> + <p>This directive is identical to the <a href="#header">Header</a> + directive in all other respects. Consult this directive for + more information on the syntax. + </P> + <p> <hr /> <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> |