diff options
Diffstat (limited to 'modules/mappers/mod_userdir.c')
-rw-r--r-- | modules/mappers/mod_userdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c index 7e83bb1fb3..7e6018c806 100644 --- a/modules/mappers/mod_userdir.c +++ b/modules/mappers/mod_userdir.c @@ -289,7 +289,7 @@ static int translate_userdir(request_rec *r) { redirect = ap_pstrcat(r->pool, x, w, userdir, dname, NULL); ap_table_setn(r->headers_out, "Location", redirect); - return REDIRECT; + return HTTP_MOVED_TEMPORARILY; } else filename = ap_pstrcat(r->pool, x, w, userdir, NULL); @@ -300,7 +300,7 @@ static int translate_userdir(request_rec *r) else if (ap_strchr_c(userdir, ':')) { redirect = ap_pstrcat(r->pool, userdir, "/", w, dname, NULL); ap_table_setn(r->headers_out, "Location", redirect); - return REDIRECT; + return HTTP_MOVED_TEMPORARILY; } else { #ifdef WIN32 |