From d143e41e9c9a6530e21415b63da2b7423a2d92c4 Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Thu, 25 May 2017 13:34:54 +0000 Subject: [PATCH] Merge r1796135 from trunk: 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. Submitted by: elukey git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796151 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index f02f80cdce..2d16fed0b1 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1041,6 +1041,7 @@ satisfied by a request at runtime directory.htaccess All +Nested conditions are evaluated in 2.4.26 and later

The Else applies the enclosed @@ -1087,6 +1088,7 @@ satisfied directory.htaccess All +Nested conditions are evaluated in 2.4.26 and later

The ElseIf applies the enclosed @@ -2145,6 +2147,7 @@ satisfied by a request at runtime directory.htaccess All +Nested conditions are evaluated in 2.4.26 and later

The If directive @@ -2176,14 +2179,6 @@ satisfied by a request at runtime

Only directives that support the directory context can be used within this configuration section.

- Not a scripting language - 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 If section inside another - one (the inner If will be ignored). - - Certain variables, such as CONTENT_TYPE and other response headers, are set after <If> conditions have already -- 2.40.0