httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject jk2 hooks infos
Date Tue, 24 Feb 2004 11:01:49 GMT
Hi to all,

I'm working on jk2 release (2.0.4) and as such try to fix
many bugzillas.

Jean-Frederic Clere send me this nice article (in french) :

http://www.hsc.fr/ressources/breves/apache-modules.html.fr

It seems there is a patch against mod_jk2 (we're working
jk2 release) :

--- mod_jk2.c.orig      2004-01-26 17:31:04.000000000 +0100
+++ mod_jk2.c   2004-01-26 17:30:48.000000000 +0100
@@ -808,11 +808,14 @@

  static void jk2_register_hooks(apr_pool_t *p)
  {
+    static const char * const aszPre[]={ "mod_rewrite.c",NULL };
+
      ap_hook_handler(jk2_handler, NULL, NULL, APR_HOOK_MIDDLE);
      ap_hook_post_config(jk2_post_config,NULL,NULL,APR_HOOK_MIDDLE);
      /* Force the mpm to run before us and set the
      * scoreboard image */
      ap_hook_child_init(jk2_child_init,NULL,NULL,APR_HOOK_LAST);
-    ap_hook_translate_name(jk2_translate,NULL,NULL,APR_HOOK_FIRST);
+    // ap_hook_translate_name(jk2_translate,NULL,NULL,APR_HOOK_FIRST);
+    ap_hook_translate_name(jk2_translate, aszPre,NULL,APR_HOOK_FIRST);
      ap_hook_map_to_storage(jk2_map_to_storage, NULL, NULL, 
APR_HOOK_MIDDLE);
  }


I wonder if we should use it since I saw in mod_file_cache.c (2.0.48),
that this tricks didn't works.

Who's right ?




Mime
View raw message