Re: [PATCH] WWW-Authenticate header lost when reverse-proxying

2002-09-20 Thread rreiner
[EMAIL PROTECTED] wrote: *** *** 969,974 --- 980,986 */ int status = r-status; r-status = HTTP_OK; + ap_discard_request_body(rp); return status; } } else How does this part fit

WWW-Authenticate header lost when reverse-proxying

2002-09-19 Thread rreiner
(Correction to previous posting: This error *only* occurs with `ProxyErrorOverride On'.) When operating as a reverse proxy, with `ProxyErrorOverride On', mod_proxy incorrectly fails to pass through the WWW-Authenticate response header on 401 responses. It seems the problem is that

[PATCH] WWW-Authenticate header lost when reverse-proxying

2002-09-19 Thread rreiner
Apologies for the resend; I omitted to mark this as a [PATCH]. When operating as a reverse proxy, with `ProxyErrorOverride On', mod_proxy incorrectly fails to pass through the WWW-Authenticate response header on 401 responses. It seems the problem is that ap_send_error_response() clears

Re: [PATCH] WWW-Authenticate header lost when reverse-proxying

2002-09-19 Thread Graham Leggett
[EMAIL PROTECTED] wrote: *** *** 969,974 --- 980,986 */ int status = r-status; r-status = HTTP_OK; + ap_discard_request_body(rp); return status; } } else How does this part fit

WWW-Authenticate header lost when reverse-proxying chunked response

2002-09-18 Thread rreiner
The WWW-Authenticate header is being dropped from responses sent by mod_proxy in reverse proxy mode, when the original server's response was chunked. The problem appears to be in ap_http_header_filter() in modules/http/http_protocol.c, where we have: if (r-status == HTTP_NOT_MODIFIED) {