On Tue, Feb 16, 2016 at 7:32 AM, <[email protected]> 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.
