You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by el...@apache.org on 2017/05/25 08:44:09 UTC
svn commit: r1796135 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Author: elukey
Date: Thu May 25 08:44:09 2017
New Revision: 1796135
URL: http://svn.apache.org/viewvc?rev=1796135&view=rev
Log:
Remove warning about nested If/ElseIf/Else evaluation
As noted by Christophe Jaillet in the dev@ ml nested
if/elseif/else conditions are now evaluated. The code
change has been already backported to 2.4.x.
Modified:
httpd/httpd/trunk/docs/manual/mod/core.xml
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1796135&r1=1796134&r2=1796135&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Thu May 25 08:44:09 2017
@@ -1067,6 +1067,7 @@ satisfied by a request at runtime</descr
<context>directory</context><context>.htaccess</context>
</contextlist>
<override>All</override>
+<compatibility>Nested conditions are evaluated in 2.4.26 and later</compatibility>
<usage>
<p>The <directive type="section">Else</directive> applies the enclosed
@@ -1113,6 +1114,7 @@ satisfied</description>
<context>directory</context><context>.htaccess</context>
</contextlist>
<override>All</override>
+<compatibility>Nested conditions are evaluated in 2.4.26 and later</compatibility>
<usage>
<p>The <directive type="section">ElseIf</directive> applies the enclosed
@@ -2187,6 +2189,7 @@ satisfied by a request at runtime</descr
<context>directory</context><context>.htaccess</context>
</contextlist>
<override>All</override>
+<compatibility>Nested conditions are evaluated in 2.4.26 and later</compatibility>
<usage>
<p>The <directive type="section">If</directive> directive
@@ -2218,14 +2221,6 @@ satisfied by a request at runtime</descr
<p>Only directives that support the <a href="directive-dict.html#Context"
>directory context</a> can be used within this configuration section.</p>
- <note><title>Not a scripting language</title>
- The name of this directive is very familiar to programmers and admins
- but it should not be confused with its counterpart in scripting languages.
- For example, the current implementation does not contemplate the possibility
- of having a <directive type="section">If</directive> section inside another
- one (the inner <directive type="section">If</directive> will be ignored).
- </note>
-
<note type="warning">
Certain variables, such as <code>CONTENT_TYPE</code> and other
response headers, are set after <If> conditions have already