--- mod_protection.c 2002-04-20 09:33:31.000000000 -0400 +++ mod_protection.c.oden 2002-11-05 09:35:46.000000000 -0500 @@ -799,8 +799,16 @@ return DECLINED; } +static int protection_init_handler(apr_pool_t *p, apr_pool_t *plog, + apr_pool_t *ptemp, server_rec *s) +{ + ap_add_version_component(p, "mod_protection/0.0.2"); + return OK; +} + static void register_hooks(apr_pool_t *p) { + ap_hook_post_config(protection_init_handler, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_translate_name(trans_protection,NULL,NULL,APR_HOOK_MIDDLE); }