Hi,

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.
The attached patch contains a simple one-liner fix to fix the indicated
bug.

Please direct comments directly to me, as I'm not subscribed to this
mailing list.

Best Regards,

        Gertjan van Wingerde.
diff -u --recursive apache_1.3.17/src/modules/standard/mod_dir.c 
apache_1.3.17+bugfix/src/modules/standard/mod_dir.c
--- apache_1.3.17/src/modules/standard/mod_dir.c        Mon Jan 15 18:05:40 2001
+++ apache_1.3.17+bugfix/src/modules/standard/mod_dir.c Sat Feb 24 16:11:59 2001
@@ -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;
begin:vcard 
n:van Wingerde;Gertjan
tel;fax:+31 53 4783647
tel;home:+31 53 4761822
tel;work:+31 53 4824220
x-mozilla-html:FALSE
adr:;;Geessinkweg 177;Enschede;;7544 TX;The Netherlands
version:2.1
email;internet:[EMAIL PROTECTED]
title:Mr.
x-mozilla-cpt:;-15968
fn:Gertjan van Wingerde
end:vcard

Reply via email to