From: Ryan Bloom Date: Fri, 31 Dec 1999 17:06:15 +0000 (+0000) Subject: Update these modules to Apache 2.0. Not tested, but they compile again. X-Git-Tag: 1.3.10~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca4788f237081813cb63c028f4d881714027ec0c;p=apache Update these modules to Apache 2.0. Not tested, but they compile again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84382 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_vhost_alias.c b/modules/mappers/mod_vhost_alias.c index 57ea60183f..a8335386c9 100644 --- a/modules/mappers/mod_vhost_alias.c +++ b/modules/mappers/mod_vhost_alias.c @@ -457,26 +457,20 @@ static int mva_translate(request_rec *r) return OK; } +static void register_hooks(void) +{ + ap_hook_translate_name(mva_translate, NULL, NULL, HOOK_MIDDLE); +}; module MODULE_VAR_EXPORT vhost_alias_module = { - STANDARD_MODULE_STUFF, - NULL, /* initializer */ + STANDARD20_MODULE_STUFF, NULL, /* dir config creater */ NULL, /* dir merger --- default is to override */ mva_create_server_config, /* server config */ mva_merge_server_config, /* merge server configs */ mva_commands, /* command ap_table_t */ NULL, /* handlers */ - mva_translate, /* filename translation */ - NULL, /* check_user_id */ - NULL, /* check auth */ - NULL, /* check access */ - NULL, /* type_checker */ - NULL, /* fixups */ - NULL, /* logger */ - NULL, /* header parser */ - NULL, /* child_init */ - NULL, /* child_exit */ - NULL /* post read-request */ + register_hooks /* register hooks */ }; +