From 200a588336c7d66ef8af83f32d2395161d8a78cf Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 17 Jan 2014 15:51:25 +0800 Subject: Ensure we run before mod_headers so that our result can be put to request headers for mod_proxy. --- mod_lookup_identity.c | 3 ++- mod_lookup_identity.spec | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c index 4a36ce1..5ec9fd6 100644 --- a/mod_lookup_identity.c +++ b/mod_lookup_identity.c @@ -531,7 +531,8 @@ static const command_rec directives[] = { }; static void register_hooks(apr_pool_t * pool) { - ap_hook_fixups(lookup_identity_hook, NULL, NULL, APR_HOOK_LAST); + static const char * const aszSucc[] = {"mod_headers.c", NULL}; + ap_hook_fixups(lookup_identity_hook, NULL, aszSucc, APR_HOOK_LAST); APR_REGISTER_OPTIONAL_FN(lookup_identity_hook); } diff --git a/mod_lookup_identity.spec b/mod_lookup_identity.spec index 3702c00..29c6a8e 100644 --- a/mod_lookup_identity.spec +++ b/mod_lookup_identity.spec @@ -6,7 +6,7 @@ Summary: Apache module to retrieve additional information about the authenticated user. Name: mod_lookup_identity -Version: 0.8 +Version: 0.8.1 Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Daemons @@ -58,6 +58,10 @@ install -Dp -m 0644 lookup_identity.conf $RPM_BUILD_ROOT%{_httpd_confdir}/lookup %{_httpd_moddir}/*.so %changelog +* Fri Jan 17 2014 Jan Pazdziora - 0.8.1-1 +- Ensure we run before mod_headers so that our result can be put to + request headers for mod_proxy. + * Thu Jan 09 2014 Jan Pazdziora - 0.8-1 - Declare all functions static for proper isolation. -- cgit