Re: mod_rewrite: LoadModule order is important?

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

 



Joshua Slive wrote:
> 
> On 9/4/07, Jim Jagielski <jim@xxxxxxxxxxx> wrote:
> 
> > Yep... but also recall that most modules use APR_HOOK_MIDDLE as
> > the ordering, and so the order of when the hooks actually
> > get run does depend on when the modules are loaded in and
> > when they call the ap_hook_* func. And unlike 1.3, 2.x
> > is such that the 1st modules loaded are also run 1st
> > unless the sort changes that (export SHOW_HOOKS and
> > then run Apache to see what happens)...
> >
> > (mostly an issue with AAA routines where the fall-through
> > matters)
> 
> Yes, but I would still consider it a bug if the ordering of LoadModule
> has an effect in this case. (It is a bug that is easy to fix simply by
> explicitly specifying the hook ordering in the code.)
> 

Agreed.

> In the AAA case, it is a little more complicated. I guess the ability
> to reorder using LoadModule could be considered a feature given that
> there is no other way to do it.

Yep. Undocumented feature ;)
-- 
===========================================================================
   Jim Jagielski   [|]   jim@xxxxxxxxxxx   [|]   http://www.jaguNET.com/
	    "If you can dodge a wrench, you can dodge a ball."

---------------------------------------------------------------------
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