The browser hits a non-existing file. An “error_page” points
to a fastcgi-application. The fastcgi thinks this is not an error
and explicit sets: “Status: 200” or “Status: 302”, …
One would expect that the fastcgi can overwrite the status-code.
On Thu, Feb 04, 2010 at 03:53:21PM -0500, double wrote:
The browser hits a non-existing file. An “error_page” points
to a fastcgi-application. The fastcgi thinks this is not an error
and explicit sets: “Status: 200” or “Status: 302”, …
One would expect that the fastcgi can overwrite the status-code.
Normally error pages are mapped to static files, and their status
is obviously 200. It would be a bit strange to return status 200
just because error page was found, right?
If you want to override original error code with one returned by
error page itself, you should use ‘=’ in error_page directive.
See here for more details: