From: André Malo
value contains spaces, it should be surrounded by double
quotes. For unset, no value should be given.Description: Configure HTTP request headers
+[value [env=[!]variable]]
Syntax: RequestHeader set|append|add|unset header
-[value]
Context: server config, virtual host, directory, .htaccess Override: FileInfo
@@ -290,6 +290,16 @@ is available only in Apache 2.0Status: Extension
When the RequestHeader
directive is used with the
+ add
, append
, or set
argument, a
+ fourth argument may be used to specify conditions under which the action
+ will be taken. If the environment variable
+ specified in the env=...
argument exists (or if the environment
+ variable does not exist and env=!...
is specified) then the
+ action specified by the RequestHeader
directive will
+ take effect. Otherwise, the directive will have no effect on the
+ request.
The RequestHeader
directive is processed
just before the request is run by its handler in the fixup phase.
This should allow headers generated by the browser, or by Apache
diff --git a/docs/manual/mod/mod_headers.xml.ja b/docs/manual/mod/mod_headers.xml.ja
index a62afa4b5c..38825e0805 100644
--- a/docs/manual/mod/mod_headers.xml.ja
+++ b/docs/manual/mod/mod_headers.xml.ja
@@ -1,7 +1,7 @@
-
+