How do I configure IIS to return the real error code of a interpreter running via FastCGI?
Currently, I have Perl and PHP configured via FastCGI.
If I request a page that is not found (404), it will return a generic 500 internal server error.
Only looking through my tracing logs, can I determine the real cause of the 500 error; In this case, the file is simply not found (does not warrant a 500 error).
185. view trace Warning -MODULE_WARNING ModuleName FastCgiModule Data1 FASTCGI_RESPONSE_ERROR Data2 ErrorCode 4 ErrorCode The system cannot open the file. (0x4) FastCgiModule 186. view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS ModuleName FastCgiModule Notification 128 HttpStatus 500 HttpReason Internal Server Error HttpSubStatus 0 ErrorCode 0 ConfigExceptionInfo Notification EXECUTE_REQUEST_HANDLER ErrorCode The operation completed successfully. (0x0)