ElbertF/Swiftlet — Issue #35: error 404
Author: va5ja
Created: 2012-02-08 18:21:09+00:00
State: open

In the Controller of Error 404 there is in the default action the following:

header("Status: 404 Not Found");

On php.net it's written that "For FastCGI you must use the code above for a 404 response".
However not every server runs FastCGI so I suggest adding both variations:

header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");

Otherwise the server doesn't respond with error header so that's not really good.