Does anybody have solid guidance around the proper way to setup just a standard 404 error page to work in Orchard. A quick search on Google shows several solutions, however all of them seem to have their own problems. Mainly that you can get
Orchard to servce the 404 page fine, however it changes the status code to be a 200.
Both of the following articles give a solution, but have the same problem in that the error pages do not serve the proper HTTP status code for the error.
Our setup has the static error pages served out of the /Media directory so that they can be managed by a content editor without need for deployment. Since they are located here, we actually don't need to setup the StaticFileHandler.
So basically, is their a way to do this properly without writting a new StaticFileHandler that also returns the appropriate response code?