Ahh good one. Cheers!

-----------------------------------------------------------
Marcus Bergstrom [marcus at quickform.net]
-----------------------------------------------------------



On Feb 28, 2007, at 2:37 PM, Nicolas Cannasse wrote:

Hello Marcus,

  I didn't comment anything out for 2.2, and for 2.0 I did something
  else, and I think my solution is better - I commented out like

static void neko_register_hooks( apr_pool_t *p ) {
/*if( memcmp(ap_get_server_version(),"Apache/2.0",10) == 0 ) { ap_hook_handler( neko_2_0_handler, NULL, NULL, APR_HOOK_LAST );
                return;
        } */
ap_hook_post_config( neko_init, NULL, NULL, APR_HOOK_MIDDLE );
        ap_hook_handler( neko_handler, NULL, NULL, APR_HOOK_LAST );
};

  which performs all the post-config stuff for apache 2.0 as well.

BTW these three lines have been removed from CVS.

Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to