httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1571473 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml
Date Mon, 24 Feb 2014 22:38:16 GMT
Author: covener
Date: Mon Feb 24 22:38:15 2014
New Revision: 1571473

URL: http://svn.apache.org/r1571473
Log:
fix setifempty compat info

http://httpd.apache.org/docs/2.4/mod/mod_headers.html#comment_2245


Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml

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=1571473&r1=1571472&r2=1571473&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 Mon Feb 24 22:38:15 2014
@@ -192,13 +192,14 @@ Header merge Cache-Control no-store env=
 <directivesynopsis>
 <name>RequestHeader</name>
 <description>Configure HTTP request headers</description>
-<syntax>RequestHeader add|append|edit|edit*|merge|set|unset
+<syntax>RequestHeader add|append|edit|edit*|merge|set|setifempty|unset
 <var>header</var> [<var>value</var>] [<var>replacement</var>]
 [early|env=[!]<var>variable</var>]|expr=<var>expression</var>]
 </syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>FileInfo</override>
+<compatibility>SetIfEmpty available in 2.4.7 and later</compatibility>
 
 <usage>
     <p>This directive can replace, merge, change or remove HTTP request
@@ -251,7 +252,7 @@ Header merge Cache-Control no-store env=
 
     <dt><code>setifempty</code></dt>
     <dd>The request header is set, but only if there is no previous header
-    with this name</dd>
+    with this name. Available in 2.4.7 and later.</dd>
 
     <dt><code>unset</code></dt>
     <dd>The request header of this name is removed, if it exists. If
@@ -300,14 +301,14 @@ Header merge Cache-Control no-store env=
 <directivesynopsis>
 <name>Header</name>
 <description>Configure HTTP response headers</description>
-<syntax>Header [<var>condition</var>] add|append|echo|edit|edit*|merge|set|unset|note
+<syntax>Header [<var>condition</var>] add|append|echo|edit|edit*|merge|set|setifempty|unset|note
 <var>header</var> [<var>value</var>] [<var>replacement</var>]
 [early|env=[!]<var>variable</var>]|expr=<var>expression</var>]
 </syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>FileInfo</override>
-<compatibility>Default condition was temporarily changed to "always" in 2.3.9 and 2.3.10</compatibility>
+<compatibility>Default condition was temporarily changed to "always" in 2.3.9 and 2.3.10.
 SetIfEmpty available since 2.4.7.</compatibility>
 
 <usage>
     <p>This directive can replace, merge or remove HTTP response
@@ -394,7 +395,7 @@ Header merge Cache-Control no-store env=
 
     <dt><code>setifempty</code></dt>
     <dd>The request header is set, but only if there is no previous header
-    with this name</dd>
+    with this name. Available in 2.4.7 and later.</dd>
 
     <dt><code>unset</code></dt>
     <dd>The response header of this name is removed, if it exists.



Mime
View raw message