summaryrefslogtreecommitdiffstats
path: root/modules/arch
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2008-11-03 20:38:01 +0100
committerBradley Nicholes <bnicholes@apache.org>2008-11-03 20:38:01 +0100
commit6ba15c12c6b0c9a6b76a35edc40e54f7436ec620 (patch)
treed3007e7beeb420bedca10e3afa21509d9631f9dd /modules/arch
parentRemove the ap_session_get, ap_session_set export references for the NetWare b... (diff)
downloadapache2-6ba15c12c6b0c9a6b76a35edc40e54f7436ec620.tar.xz
apache2-6ba15c12c6b0c9a6b76a35edc40e54f7436ec620.zip
Make sure that the sys_privileges_handlers is set for the NetWare platform
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710141 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r--modules/arch/netware/mod_netware.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/arch/netware/mod_netware.c b/modules/arch/netware/mod_netware.c
index b2e3bdb6ed..ea9e0f62dd 100644
--- a/modules/arch/netware/mod_netware.c
+++ b/modules/arch/netware/mod_netware.c
@@ -167,9 +167,19 @@ static apr_status_t ap_cgi_build_command(const char **cmd, const char ***argv,
return APR_SUCCESS;
}
+static int
+netware_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
+ apr_pool_t *ptemp)
+{
+ sys_privileges_handlers(1);
+ return OK;
+}
+
static void register_hooks(apr_pool_t *p)
{
APR_REGISTER_OPTIONAL_FN(ap_cgi_build_command);
+ ap_hook_pre_config(netware_pre_config,
+ NULL, NULL, APR_HOOK_FIRST);
}
static const command_rec netware_cmds[] = {