]> granicus.if.org Git - apache/commitdiff
Clarify order of operations - some variables aren't accessible to If.
authorRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 19:37:47 +0000 (19:37 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 19:37:47 +0000 (19:37 +0000)
See bz 53349 for context.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673535 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index a4f9f319fcc1fcada5e34d51a9fadf166935e56c..b069810b559befceef1dfa4eab94247679b9be8c 100644 (file)
@@ -1967,6 +1967,13 @@ satisfied by a request at runtime</description>
     <p>Only directives that support the <a href="directive-dict.html#Context"
     >directory context</a> can be used within this configuration section.</p>
 
+    <note type="warning">
+    Certain variables, such as <code>CONTENT_TYPE</code> and other
+    response headers, are set after &lt;If&gt; conditions have already
+    been evaluated, and so will not be available to use in this
+    directive.
+    </note>
+
 </usage>
 
 <seealso><a href="../expr.html">Expressions in Apache HTTP Server</a>,