The following reply was made to PR mod_proxy/2978; it has been noted by GNATS.

From: "Jeremy Bettis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Cc:  Subject: Re: mod_proxy/2978: ProxyPass w/ Authentcation gives 407 not 401.
Date: Mon, 16 Nov 1998 14:24:50 -0600

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0085_01BE116C.DEAC0C30
 Content-Type: text/plain;
        charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 
 Is anyone ever going to fix this?
 
 Here is the patch:
 
 
 
 ------=_NextPart_000_0085_01BE116C.DEAC0C30
 Content-Type: application/octet-stream;
        name="apache.diff"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
        filename="apache.diff"
 
 diff -c2 -r ./src/main/http_protocol.c =
 ../../BUILD/apache_1.3.1/src/main/http_protocol.c=0A=
 *** ./src/main/http_protocol.c Wed Jul  8 12:47:05 1998=0A=
 --- ../../BUILD/apache_1.3.1/src/main/http_protocol.c  Fri Sep 11 =
 13:09:40 1998=0A=
 ***************=0A=
 *** 901,905 ****=0A=
       else=0A=
           ap_table_setn(r->err_headers_out,=0A=
 !                   r->proxyreq ? "Proxy-Authenticate" : =
 "WWW-Authenticate",=0A=
                     ap_pstrcat(r->pool, "Basic realm=3D\"", =
 ap_auth_name(r), "\"",=0A=
                             NULL));=0A=
 --- 901,908 ----=0A=
       else=0A=
           ap_table_setn(r->err_headers_out,=0A=
 ! #if 0=0A=
 !                   r->proxyreq ? "Proxy-Authenticate" :=0A=
 ! #endif=0A=
 !               "WWW-Authenticate",=0A=
                     ap_pstrcat(r->pool, "Basic realm=3D\"", =
 ap_auth_name(r), "\"",=0A=
                             NULL));=0A=
 ***************=0A=
 *** 909,913 ****=0A=
   {=0A=
       ap_table_setn(r->err_headers_out,=0A=
 !          r->proxyreq ? "Proxy-Authenticate" : "WWW-Authenticate",=0A=
            ap_psprintf(r->pool, "Digest realm=3D\"%s\", nonce=3D\"%lu\"",=0A=
                ap_auth_name(r), r->request_time));=0A=
 --- 912,919 ----=0A=
   {=0A=
       ap_table_setn(r->err_headers_out,=0A=
 ! #if 0=0A=
 !          r->proxyreq ? "Proxy-Authenticate" :=0A=
 ! #endif=0A=
 !              "WWW-Authenticate",=0A=
            ap_psprintf(r->pool, "Digest realm=3D\"%s\", nonce=3D\"%lu\"",=0A=
                ap_auth_name(r), r->request_time));=0A=
 ***************=0A=
 *** 917,922 ****=0A=
   {=0A=
       const char *auth_line =3D ap_table_get(r->headers_in,=0A=
                                         r->proxyreq ? =
 "Proxy-Authorization"=0A=
 !                                                   : "Authorization");=0A=
       const char *t;=0A=
   =0A=
 --- 923,931 ----=0A=
   {=0A=
       const char *auth_line =3D ap_table_get(r->headers_in,=0A=
 + #if 0=0A=
                                         r->proxyreq ? =
 "Proxy-Authorization"=0A=
 !                                                   :=0A=
 ! #endif=0A=
 !              "Authorization");=0A=
       const char *t;=0A=
   =0A=
 *** ./src/main/http_request.c  Wed Jul  1 16:19:54 1998=0A=
 --- ../../BUILD/apache_1.3.1/src/main/http_request.c   Fri Sep 11 10:16:53 =
 1998=0A=
 ***************=0A=
 *** 906,909 ****=0A=
 --- 906,910 ----=0A=
       r->status =3D type;=0A=
   =0A=
 + #if 0=0A=
       /*=0A=
        * This test is done here so that none of the auth modules needs =
 to know=0A=
 ***************=0A=
 *** 914,917 ****=0A=
 --- 915,919 ----=0A=
           r->status =3D HTTP_PROXY_AUTHENTICATION_REQUIRED;=0A=
       }=0A=
 + #endif=0A=
   =0A=
       /*=0A=
 
 ------=_NextPart_000_0085_01BE116C.DEAC0C30--
 

Reply via email to