Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 60f048c712d930adfab8df568117542c > files > 4

apache-mod_auth_nds-2.0-13mdv2010.1.src.rpm

--- mod_auth_nds.c	2002-09-25 02:25:36.000000000 +0200
+++ mod_auth_nds.c.oden	2003-04-13 22:34:40.000000000 +0200
@@ -819,10 +819,17 @@
     {NULL}
 };
 
-
+static int auth_nds_init_handler(apr_pool_t *p, apr_pool_t *plog,
+                                apr_pool_t *ptemp, server_rec *s)
+{
+    ap_add_version_component(p, "mod_auth_nds/2.0");
+    return OK;
+}
+        
 static void nds_auth_register_hooks(apr_pool_t *p)
 {
 //    ap_hook_post_read_request(nds_auth_init, NULL, NULL, APR_HOOK_FIRST);
+    ap_hook_post_config(auth_nds_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
     ap_hook_check_user_id(nds_auth_basic, NULL, NULL, APR_HOOK_MIDDLE);
     ap_hook_auth_checker(nds_check_access, NULL, NULL, APR_HOOK_MIDDLE);
 }