nd 2004/04/05 10:55:58 Modified: docs/manual/mod mod_headers.xml Log: document new RequestHeader behaviour PR: 27951 Submitted by: vincent gryzor.com (Vincent Deffontaines) Revision Changes Path 1.12 +11 -1 httpd-2.0/docs/manual/mod/mod_headers.xml Index: mod_headers.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_headers.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -u -r1.11 -r1.12 --- mod_headers.xml 2 Apr 2004 21:00:27 -0000 1.11 +++ mod_headers.xml 5 Apr 2004 17:55:58 -0000 1.12 @@ -128,7 +128,7 @@ RequestHeader Configure HTTP request headers RequestHeader set|append|add|unset header -[value] +[value [env=[!]variable]] server configvirtual host directory.htaccess FileInfo @@ -170,6 +170,16 @@ set a value is given as the third argument. If value contains spaces, it should be surrounded by double quotes. For unset, no value should be given.

+ +

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.