From de48452300bbeda7411d4c7dc70bb7cdfd91e851 Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Tue, 14 Mar 2017 12:36:55 +0000 Subject: [PATCH] Merge r1786709 from trunk: Add a note in the docs about evaluation of Location sections The sections.html doc was missing, in my opinion, a direct reference to the fact multiple Location blocks matching a HTTP request will be evaluated in the order in which they appear in the configuration files (same as Ifs, etc..). Reworked a bit a single block of text to be a bit more readable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1786895 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/sections.xml | 60 +++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 26 deletions(-) diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml index 679d584333..520d50717e 100644 --- a/docs/manual/sections.xml +++ b/docs/manual/sections.xml @@ -483,32 +483,40 @@ are interpreted, it is important to understand how this works.

-

Apart from Directory, each group is processed in - the order that they appear in the configuration files. Directory (group 1 above) - is processed in the order shortest directory component to longest. - So for example, <Directory "/var/web/dir"> will - be processed before <Directory - "/var/web/dir/subdir">. If multiple Directory sections apply - to the same directory they are processed in the configuration file - order. Configurations included via the Include directive will be treated as if - they were inside the including file at the location of the - Include directive.

- -

Sections inside VirtualHost sections - are applied after the corresponding sections outside - the virtual host definition. This allows virtual hosts to - override the main server configuration.

- -

When the request is served by mod_proxy, the - Proxy - container takes the place of the Directory container in the processing - order.

+

Some important remarks:

+ Technical Note There is actually a -- 2.40.0