Hi,

Changelog entry is about Header and RequestHeader but doc has only been updated for the first one.
Moreover, a compatibility note should be, IMO, added for the updated syntax.

CJ


Le 17/04/2014 15:36, j...@apache.org a écrit :
Changes with Apache 2.4.10 + *) mod_headers: Allow the "value" parameter of Header and RequestHeader to
+     contain an ap_expr expression if prefixed with "expr=". [Eric Covener]
+
    *) rotatelogs: Avoid creation of zombie processes when -p is used on
       Unix platforms.  [Joe Orton]
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml
URL: 
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml?rev=1588244&r1=1588243&r2=1588244&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml Thu Apr 17 
13:36:05 2014
@@ -310,7 +310,7 @@ Header merge Cache-Control no-store env=
  <name>Header</name>
  <description>Configure HTTP response headers</description>
  <syntax>Header [<var>condition</var>] 
add|append|echo|edit|edit*|merge|set|setifempty|unset|note
-<var>header</var> [<var>value</var>] [<var>replacement</var>]
+<var>header</var> [<var>[expr=]value]</var>] [<var>replacement</var>]
  [early|env=[!]<var>variable</var>]|expr=<var>expression</var>]
  </syntax>
  <contextlist><context>server config</context><context>virtual host</context>
@@ -437,9 +437,12 @@ SetIfEmpty and note available in 2.4.7 a
      <code>add</code> a <var>value</var> is specified as the next argument.
      If <var>value</var>
      contains spaces, it should be surrounded by double quotes.
-    <var>value</var> may be a character string, a string containing format
-    specifiers or a combination of both. The following format specifiers
-    are supported in <var>value</var>:</p>
+    <var>value</var> may be a character string, a string containing
+    <module>mod_headers</module> specific format specifiers (and character
+    literals), or an <a href="../expr.html">ap_expr</a> expression prefixed
+    with <em>expr=</em></p>
+
+    <p> The following format specifiers are supported in <var>value</var>:</p>
<table border="1" style="zebra">
      <columnspec><column width=".25"/><column width=".75"/></columnspec>



Reply via email to