You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2001/02/26 15:09:05 UTC
cvs commit: apache-1.3/src/modules/standard mod_dir.c
martin 01/02/26 06:09:05
Modified: src/modules/standard mod_dir.c
Log:
Gertjan writes:
I have fixed the problem described in bug report 7114 regarding the
missing WWW-Authenticate header in responses to directory URL's,
while using the DirectoryIndex directive.
PR: 7114
Submitted by: Gertjan van Wingerde <gw...@home.nl>
Reviewed by: William A. Rowe, Jim Jagielski, Greg Stein
Revision Changes Path
1.59 +2 -1 apache-1.3/src/modules/standard/mod_dir.c
Index: mod_dir.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_dir.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -u -r1.58 -r1.59
--- mod_dir.c 2001/01/15 17:05:40 1.58
+++ mod_dir.c 2001/02/26 14:09:04 1.59
@@ -178,7 +178,8 @@
/* 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)) {
ap_pool_join(r->pool, rr->pool);
error_notfound = rr->status;