From: Luca Toscano Date: Mon, 20 Mar 2017 12:15:38 +0000 (+0000) Subject: Merge r1787510 from trunk: X-Git-Tag: 2.4.26~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d16f53eb552452a2ae2190b9e4bf3ae5c33246a5;p=apache Merge r1787510 from trunk: Add a warning in the docs about nested blocks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1787736 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index ec6c5d3a26..f02f80cdce 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2176,6 +2176,14 @@ 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 diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml index 520d50717e..08807e46a4 100644 --- a/docs/manual/sections.xml +++ b/docs/manual/sections.xml @@ -381,7 +381,8 @@ inside Directory. On the other hand, If can be used inside Directory, Location, and Files sections. The regex +type="section" module="core">Files sections (but not inside another +If). The regex counterparts of the named section behave identically.

Nested sections are merged after non-nested sections of the same type.