[1.3 PATCH] another ap_die() issue related to error documents

2003-10-17 Thread Jeff Trawick
For "ErrorDocument nnn http://url";, ap_die() will respond with 302 redirect, and r->status will be updated to indicate that. But the original error could have been one that keeps us from being able to process subsequent requests on the connection. Setting r->status to REDIRECT keeps us from d

Re: [1.3 PATCH] another ap_die() issue related to error documents

2003-10-17 Thread Roy T. Fielding
On Friday, October 17, 2003, at 12:27 PM, Jeff Trawick wrote: For "ErrorDocument nnn http://url";, ap_die() will respond with 302 redirect, and r->status will be updated to indicate that. But the original error could have been one that keeps us from being able to process subsequent requests on

Re: [1.3 PATCH] another ap_die() issue related to error documents

2003-10-17 Thread Cliff Woolley
On Fri, 17 Oct 2003, Roy T. Fielding wrote: > It sends 302? Don't you mean it does a subrequest? I'd hope so. > Anyway, +1 to the patch. I always thought it did a 302 if the errordocument started with http:// (ie, was possibly external), but did a subrequest if it did not start with http:// .

Re: [1.3 PATCH] another ap_die() issue related to error documents

2003-10-18 Thread Jeff Trawick
Roy T. Fielding wrote: client uses HTTP/1.1 to POST a 2MB file, to be handled by a module... module says no way and returns 413... admin has "ErrorDocument 413 http://file_too_big.html";... Apache sends back 302 with Location=http://file_too_big.html, but since this is HTTP/1.1, Apache then tries