From: Chris Darroch results in this header being added to the response: If the header If the header This argument is followed by a header name, which can
include the final colon, but it is not required. Case is
- ignored. For This argument is followed by a header name, which
can include the final colon, but it is not required. Case is
- ignored for For For
+ Header set MyHeader "Hello Joe. It took %D microseconds \
for Apache to serve this request."
MyHeader on the response if and
- only if header "MyRequestHeader" is present on the request. This
- is useful for constructing headers in response to some client
+ only if header MyRequestHeader is present on the request.
+ This is useful for constructing headers in response to some client
stimulus. Note that this example requires the services of the
- Header add MyHeader "%D %t mytext" env=HAVE_MyRequestHeader
-
+ Header set MyHeader "%D %t mytext" env=HAVE_MyRequestHeader
+
- MyRequestHeader: value is present on
- the HTTP request, the response will contain the following header:MyRequestHeader: myvalue is present on
+ the HTTP request, the response will contain the following header:append should be
- used instead.set or
+ append should be used instead.
unsetadd, append and
- set a value is given as the third argument. If a
+ ignored. For set, append and
+ add a value is given as the third argument. If a
value contains spaces, it should be surrounded by double
- quotes. For unset, no value should be given.
+ quotes. For unset, no value should be given.
value may be a character string, a string containing format
specifiers or a combination of both. The supported format specifiers
are the same as for the set or
+ append should be used instead.unsetechoset, append, add
- and unset. The header name for echo
- is case sensitive and may be a set, append, add,
+ unset, and edit.
+ The header name for echo
+ is case sensitive and may be a add, append and set a
+ set, append and add a
value is specified as the third argument. If value
- contains spaces, it should be surrounded by doublequotes.
+ contains spaces, it should be surrounded by double quotes.
value may be a character string, a string containing format
specifiers or a combination of both. The following format specifiers
are supported in value:SSLOptions +StdEnvVars must
be enabled anyway for some other reason, %e will be
more efficient than %s.
For edit there is both a value argument
which is a