Looks like doc should be updated accordingly. Especially, the paragraph stating that:
"For example, the current implementation does not contemplate the possibility of having a <If> section inside another one (the inner <If> will be ignored). "
A compatibility note should be also added to tell that the behavior has changed in 2.4.26.
Not sure how to rephrase the "Not a scripting language" paragraph, though. Delete it completely?
It has been reported multiple times that nested
If/ElseIf/Else sections are not evaluated but
This patch adds a simple recursion to the ap_if_walk
logic in order to allow arbitrary nested configs.
The overhead seems negligible compared to the actual
version of the ap_if_walk, but more expert feedback
is surely needed since this code gets called for every
Tests are going to be added to t/apache/if_sections.t