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:33:35 GMT
The workaround seems to be to modify proxy_http.c to force it to forward  
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 
             * 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 
             * 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") 
             */
!            )
            continue;
        ap_bvputs(f, reqhdrs[i].key, ": ", reqhdrs[i].val, CRLF, NULL);
      }
------------------------------- Cut Here -------------------------------

Regards,

Ian Daniel

Mime
View raw message