The same problem exists with the CONNECT method. Temporarely Idid the following
change in proxy_connect.c

126,127d125
<     array_header *reqhdrs_arr; /* plc */
<     table_entry *reqhdrs; /* plc */
229,242c227
< /***************** Add authorization if known *****************/
<         reqhdrs_arr = ap_table_elts(r->headers_in);
<         reqhdrs = (table_entry *) reqhdrs_arr->elts;
<         for (i = 0; i < reqhdrs_arr->nelts; i++)
<         {
<          if (reqhdrs[i].key == NULL || reqhdrs[i].val == NULL
<              || strcasecmp(reqhdrs[i].key, "Proxy-Authorization") )
<          {
<             continue;
<          }
<          ap_snprintf(buffer, sizeof(buffer),
<                      "Proxy-Authorization: %s" CRLF, reqhdrs[i].val );
<         }
<       ap_snprintf(buffer+strlen(buffer), sizeof(buffer)-strlen(buffer),
---
>       ap_snprintf(buffer, sizeof(buffer),
244d228
< /**************************************************************/

Problem : it forward the authorization to every remote proxy... Should keep
a table of which proxy asked an auth (?)

BTW: shouldn't the User-Agent be sent to ?

                Paul


According to [EMAIL PROTECTED] <[EMAIL PROTECTED]> (on 09/16/98):
> Thank you very much for your problem report.
> It has the internal identification `mod_proxy/3009'.
> The individual assigned to look at your
> report is: apache. 
> 
> >Category:       mod_proxy
> >Responsible:    apache
> >Synopsis:       RemoteProxy CAN'T request an authorization
> >Arrival-Date:   Wed Sep 16 08:20:00 PDT 1998

-- 
-=-=-=-=-=-  Paul COURBIS -=- Responsable Systemes Informatiques  -=-=-=-=-=-
-=-=-=-  Centre de Recherche Motorola  -=-  [EMAIL PROTECTED]  -=-=-=-
-=-         Voice: +33 (0)1 69.35.25.37  Fax: +33 (0)1 69.35.25.01        -=-
<legal>Opinions hereabove are my own and not those of my organization</legal>

Reply via email to