From: Luca Toscano Date: Mon, 13 Mar 2017 15:24:22 +0000 (+0000) Subject: Add a note in the docs about evaluation of Location sections X-Git-Tag: 2.5.0-alpha~560 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bac9939356423e65c86e8e0ddfa6a57e85b5093e;p=thirdparty%2Fapache%2Fhttpd.git 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/trunk@1786709 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml index bbb24e29915..81ee6e3eeea 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