From: Jeff Trawick Date: Fri, 20 Apr 2001 15:38:24 +0000 (+0000) Subject: Under certain circumstances, Apache did not supply the X-Git-Tag: 2.0.18~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35a2fa536123147751a263438073a7824a4df27a;p=apache Under certain circumstances, Apache did not supply the right response headers when requiring authentication. [Gertjan van Wingerde ] PR#7114 (This is a port of the change that went into Apache 1.3.19.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88901 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index f187714f6a..ec7454f555 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ Changes with Apache 2.0.18-dev + *) Under certain circumstances, Apache did not supply the + right response headers when requiring authentication. + [Gertjan van Wingerde ] PR#7114 + (This is a port of the change that went into Apache 1.3.19.) + *) Allow modules to specify their own logging tags. This basically allows a module to tell mod_log_config that when %x is encountered a specific function should be called. Currently, x can be any single diff --git a/modules/mappers/mod_dir.c b/modules/mappers/mod_dir.c index 4368f09767..b216622018 100644 --- a/modules/mappers/mod_dir.c +++ b/modules/mappers/mod_dir.c @@ -194,7 +194,8 @@ static int handle_dir(request_rec *r) /* If the request returned a redirect, propagate it to the client */ if (ap_is_HTTP_REDIRECT(rr->status) || - (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1)) { + (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1) || + (rr->status == HTTP_UNAUTHORIZED && num_names == 1)) { apr_pool_join(r->pool, rr->pool); error_notfound = rr->status;