From: Christophe Jaillet Date: Sat, 10 May 2014 05:43:33 +0000 (+0000) Subject: - Add missing links X-Git-Tag: 2.4.10~248 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d1f2f88deab92c15ac62defe8b1266c0afd438d;p=apache - Add missing links - Fix extra ] spotted in online doc by emigas. - Remove another ] introduced in Hearder syntax in r1588244 - s/variable/varname/ to match the text below it. - Turn the syntax of both Header and RequestHeader to be: header [value [replacement [early|env=[!]variable|expr=expression]]] in order to match the code. This removes the ambiguity of expr= which can now be used in 2 different places in the syntax. - Also remove the space in 'expr= value' in compatibility note, to help distinguish between the two git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1593664 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml index ddeec40b71..37bbda1a86 100644 --- a/docs/manual/mod/mod_headers.xml +++ b/docs/manual/mod/mod_headers.xml @@ -74,7 +74,8 @@ RequestHeader unset MirrorID configuration is traversed, early headers can only be set in a main server or virtual host context. Early directives cannot depend on a request path, so they will fail in contexts such as - <Directory> or <Location>.

+ Directory or + Location.

Examples @@ -200,13 +201,13 @@ Header merge Cache-Control no-store env=NO_STORE RequestHeader Configure HTTP request headers RequestHeader add|append|edit|edit*|merge|set|setifempty|unset -header [[expr=]value] [replacement] -[early|env=[!]variable]|expr=expression] +header [[expr=]value [replacement +[early|env=[!]varname|expr=expression]]] server configvirtual host directory.htaccess FileInfo -SetIfEmpty available in 2.4.7 and later, expr= value +SetIfEmpty available in 2.4.7 and later, expr=value available in 2.4.10 and later @@ -311,13 +312,13 @@ available in 2.4.10 and later Header Configure HTTP response headers Header [condition] add|append|echo|edit|edit*|merge|set|setifempty|unset|note -header [[expr=]value]] [replacement] -[early|env=[!]variable]|expr=expression] +header [[expr=]value [replacement +[early|env=[!]varname|expr=expression]]] server configvirtual host directory.htaccess FileInfo -SetIfEmpty available in 2.4.7 and later, expr= value +SetIfEmpty available in 2.4.7 and later, expr=value available in 2.4.10 and later