www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Daniel <...@mirkwood.demon.co.uk>
Subject Re: mod_proxy/3776: Proxy Authentication appears to be broken
Date Sun, 31 Jan 1999 17:40:01 GMT
The following reply was made to PR mod_proxy/3776; it has been noted by GNATS.

From: Ian Daniel <ian@mirkwood.demon.co.uk>
To: apbugs@hyperreal.org, apache-bugdb@apache.org
Cc:  Subject: Re: mod_proxy/3776: Proxy Authentication appears to be broken
Date: Sun, 31 Jan 1999 17:33:35 GMT

 The workaround seems to be to modify proxy_http.c to force it to forward =
 =20
 Proxy-Authorization headers (it fixes for our problem).
 
 ------------------------------- Cut Here -------------------------------
 *** proxy_http.c.orig   Sun Jan 31 17:21:33 1999
 --- proxy_http.c        Sun Jan 31 17:32:33 1999
 ***************
 *** 344,351 ****
             /* XXX: @@@ FIXME: "Proxy-Authorization" should *only* be=20
              * suppressed if THIS server requested the authentication,
              * not when a frontend proxy requested it!
              */
 !           || !strcasecmp(reqhdrs[i].key, "Proxy-Authorization"))
             continue;
         ap_bvputs(f, reqhdrs[i].key, ": ", reqhdrs[i].val, CRLF, NULL);
       }
 --- 344,356 ----
             /* XXX: @@@ FIXME: "Proxy-Authorization" should *only* be=20
              * suppressed if THIS server requested the authentication,
              * not when a frontend proxy requested it!
 +            * ---------------------------------------------------
 +            * Removed the line below as it causes a problem with
 +            * authentication and front end proxy servers -- Ian Daniel
 +            *
 +            * || !strcasecmp(reqhdrs[i].key, "Proxy-Authorization")=20
              */
 !            )
             continue;
         ap_bvputs(f, reqhdrs[i].key, ": ", reqhdrs[i].val, CRLF, NULL);
       }
 ------------------------------- Cut Here -------------------------------
 
 Regards,
 
 Ian Daniel

Mime
View raw message