summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mappers/mod_alias.c3
-rw-r--r--modules/mappers/mod_userdir.c3
-rw-r--r--modules/mappers/mod_vhost_alias.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c
index 6f8ab6c3f1..d600fb232f 100644
--- a/modules/mappers/mod_alias.c
+++ b/modules/mappers/mod_alias.c
@@ -474,7 +474,8 @@ static int fixup_redir(request_rec *r)
static void register_hooks(apr_pool_t *p)
{
- static const char * const aszSucc[]={ "mod_userdir.c", NULL };
+ static const char * const aszSucc[]={ "mod_userdir.c",
+ "mod_vhost_alias.c",NULL };
ap_hook_translate_name(translate_alias_redir,NULL,aszSucc,APR_HOOK_MIDDLE);
ap_hook_fixups(fixup_redir,NULL,NULL,APR_HOOK_MIDDLE);
diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c
index 7d874bf5fd..e76b2fe1dd 100644
--- a/modules/mappers/mod_userdir.c
+++ b/modules/mappers/mod_userdir.c
@@ -392,8 +392,9 @@ static ap_unix_identity_t *get_suexec_id_doer(const request_rec *r)
static void register_hooks(apr_pool_t *p)
{
static const char * const aszPre[]={ "mod_alias.c",NULL };
+ static const char * const aszSucc[]={ "mod_vhost_alias.c",NULL };
- ap_hook_translate_name(translate_userdir,aszPre,NULL,APR_HOOK_MIDDLE);
+ ap_hook_translate_name(translate_userdir,aszPre,aszSucc,APR_HOOK_MIDDLE);
#ifdef HAVE_UNIX_SUEXEC
ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,APR_HOOK_MIDDLE);
#endif
diff --git a/modules/mappers/mod_vhost_alias.c b/modules/mappers/mod_vhost_alias.c
index fd01b5bcad..9ad9f12c5e 100644
--- a/modules/mappers/mod_vhost_alias.c
+++ b/modules/mappers/mod_vhost_alias.c
@@ -481,7 +481,9 @@ static int mva_translate(request_rec *r)
static void register_hooks(apr_pool_t *p)
{
- ap_hook_translate_name(mva_translate, NULL, NULL, APR_HOOK_MIDDLE);
+ static const char * const aszPre[]={ "mod_alias.c","mod_userdir.c",NULL };
+
+ ap_hook_translate_name(mva_translate, aszPre, NULL, APR_HOOK_MIDDLE);
}
module AP_MODULE_DECLARE_DATA vhost_alias_module =