httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rabbitson <rabbit+mailli...@rabbit.us>
Subject Re: [users@httpd] Is order of Location statements supposed to be significant?
Date Fri, 31 Aug 2007 16:46:38 GMT
Joshua Slive wrote:
> On 8/31/07, Peter Rabbitson <rabbit+maillists@rabbit.us> wrote:
> 
>> My question is whether this is documented anywhere? I use a number of
>> mod_macro statements all over my site and always believed that order of
>> statements is not significant, only the nesting level. Now I am not sure
>> how many more hidden problems I have in my configs.
>>
>> Please point me to documentation in what circumstances the order of
>> similar statements is significant, as my digging around the 2.2 manual
>> proved fruitless.
> 
> See:
> http://httpd.apache.org/docs/2.2/sections.html#mergin
> and in particular the sentence:
> "Apart from <Directory>, each group is processed in the order that
> they appear in the configuration files."
> 

So in other words I am responsible for ordering all directives "shortest 
directive path first" except for Directory, which is reordered 
automatically.

Thank you.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message