httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: svn commit: r1730673 - /httpd/httpd/trunk/docs/manual/sections.xml
Date Tue, 16 Feb 2016 14:22:33 GMT
On Tue, Feb 16, 2016 at 7:32 AM,  <> wrote:
> +<p>The chain of values that the "foo" header will get is: "one", "three" and "two".
> +It is important to notice that <directive>Directory</directive> and <directive>FilesMatch</directive>
> +implement the same merging strategy, namely "override" when
> +applied to the same path. In this example it means that the last directive applied in
the merging order,
> +<directive>FilesMatch</directive>, sets the final value for the "foo" header.
> +</p>

The merging strategy is determined by the module implementing the
repeated directive, e.g. mod_headers. The moral of this PR is that
htacess and directory are the same, and wrapping directives in things
like files/filesmatch generally gives those directives higher
priority/precedence then unwrapped directives because it delays the
processing of those directives.

View raw message