httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] mod_rewrite: LoadModule order is important?
Date Tue, 04 Sep 2007 17:34:49 GMT
On 9/4/07, Jim Jagielski <jim@jagunet.com> 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.)

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.

Joshua.

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