I have an Orchard project and am trying to implement a not found page. I have used the following implementation to allow a static page
http://orchard.codeplex.com/discussions/264312
although I am running IIS6 so used the following to actually direct the user to the page.
<customErrors mode="On">
<error statusCode="404" redirect="Errors/404.htm"/>
</customErrors>
The problem I have is that I checked in fiddler and the page is not being returned with a 404 status code.
I have being trying to work out how I would set this status code since the page is a standard html page, I was looking at adding a custom header is IIS
But couldn't find anything detailing what to put here
I also tried setting the 404 page in the error pages section
But this didn't seem to work
Can anyone tell me how I get the server to return the html page with a 404 status code?