Re: All responses are 200 (server error)
"William A. Rowe Jr." <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On 9/27/2010 6:09 AM, Peter Janovsky wrote: > Are you returning the value of 200 within a module you've written? I encountered a > similar issue within a C module specific to valid requests. It was resolved by returning > the internal constant OK. This is a generalized issue of serving ErrorDocuments; if they have a Status/ result code update (such as a backend proxy response or a cgi response), that will override the original error code. c.f. https://issues.apache.org/bugzilla/show_bug.cgi?id=49996 So it is not strictly a bug, but you certainly aren't the first to be frustrated by the behavior; look to the manner you handle ErrorDocuments with, first.