Re: Is order of Location statements supposed to be significant?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua Slive wrote:
On 8/31/07, Peter Rabbitson <rabbit+maillists@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux