summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-01-17 15:51:25 +0800
committerJan Pazdziora <jpazdziora@redhat.com>2014-01-17 15:52:56 +0800
commit200a588336c7d66ef8af83f32d2395161d8a78cf (patch)
tree016fbc4b0e8e7dcf8676b24e176ff911f51adc44
parent1046f6afce04d23d903c04dfb2dd536e6cd79d44 (diff)
downloadmod_lookup_identity-0.8.1.tar.gz
mod_lookup_identity-0.8.1.tar.xz
mod_lookup_identity-0.8.1.zip
Ensure we run before mod_headers so that our result can be put to request headers for mod_proxy.mod_lookup_identity-0.8.1
-rw-r--r--mod_lookup_identity.c3
-rw-r--r--mod_lookup_identity.spec6
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.