Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > af554d6c51e7b3ea914f6b7732d96f91 > files > 5

apache-mod_auth_remote-0.1-17mdv2009.0.src.rpm

--- mod_auth_remote.c	2004-06-11 15:19:05.402049749 +0200
+++ mod_auth_remote.c.oden	2004-06-11 15:20:54.564533364 +0200
@@ -175,8 +175,16 @@
    return  HTTP_UNAUTHORIZED;
 }
 
+static int auth_remote_init_handler(apr_pool_t *p, apr_pool_t *plog,
+                            	apr_pool_t *ptemp, server_rec *s)
+{
+   ap_add_version_component(p, "mod_auth_remote/0.1");
+   return OK;
+}
+
 static void register_hooks(apr_pool_t *p)
 {
+  ap_hook_post_config(auth_remote_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
   ap_hook_check_user_id(authenticate_basic_user, NULL, NULL, APR_HOOK_MIDDLE);
   /**
          check_user_access will return OK without performing __any__ checks.