Loading docs/manual/mod/core.xml +8 −0 Original line number Diff line number Diff line Loading @@ -2214,6 +2214,14 @@ 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><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 Loading docs/manual/sections.xml +2 −1 Original line number Diff line number Diff line Loading @@ -381,7 +381,8 @@ inside <directive type="section" module="core">Directory</directive>. On the other hand, <directive type="section" module="core">If</directive> can be used inside <directive type="section" module="core">Directory</directive>, <directive type="section" module="core">Location</directive>, and <directive type="section" module="core">Files</directive> sections. The regex type="section" module="core">Files</directive> sections (but not inside another <directive type="section" module="core">If</directive>). The regex counterparts of the named section behave identically.</p> <p>Nested sections are merged after non-nested sections of the same type.</p> Loading Loading
docs/manual/mod/core.xml +8 −0 Original line number Diff line number Diff line Loading @@ -2214,6 +2214,14 @@ 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><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 Loading
docs/manual/sections.xml +2 −1 Original line number Diff line number Diff line Loading @@ -381,7 +381,8 @@ inside <directive type="section" module="core">Directory</directive>. On the other hand, <directive type="section" module="core">If</directive> can be used inside <directive type="section" module="core">Directory</directive>, <directive type="section" module="core">Location</directive>, and <directive type="section" module="core">Files</directive> sections. The regex type="section" module="core">Files</directive> sections (but not inside another <directive type="section" module="core">If</directive>). The regex counterparts of the named section behave identically.</p> <p>Nested sections are merged after non-nested sections of the same type.</p> Loading