[mirrorbrain-commits] r8216 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Fri, 12 Nov 2010 23:33:41 -0000
Author: poeml
Date: Sat Nov 13 00:33:40 2010
New Revision: 8216

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8216&view=rev
Log:
mod_mirrorbrain:
- run the main handler before all other configured handlers from other modules,
  not as the very last one. This means we can run before mod_autoindex, which
  would otherwise handle a request on a directory, despite the presence of
  query arguments requesting a yum mirror list. It also means that we run
  before mod_php (most modules' handlers run as middle hook and therefore not
  in strictly defined order).

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8216&r1=8215&r2=8216&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Sat Nov 13 00:33:40 2010
_at_@ -3572,7 +3572,7 @@
     ap_hook_pre_config    (mb_pre_config,  NULL, NULL, APR_HOOK_MIDDLE);
 #endif
     ap_hook_post_config   (mb_post_config, NULL, NULL, APR_HOOK_MIDDLE);
-    ap_hook_handler       (mb_handler,     NULL, NULL, APR_HOOK_LAST);
+    ap_hook_handler       (mb_handler,     NULL, NULL, APR_HOOK_FIRST);
     ap_hook_child_init    (mb_child_init,  NULL, NULL, APR_HOOK_MIDDLE );
 }
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Fri Nov 12 2010 - 23:33:42 GMT

This archive was generated by hypermail 2.3.0 : Fri Nov 12 2010 - 23:47:11 GMT