I'm trying to implement custom error pages for 404s, run-time errors, and etc. However, I have become aware that the error handling in the web config isn't utilized by Orchard. I'm maintaining a 1.9.1 instance that has modified source - that I don't have
How can I implement custom error pages without directly modifying the source? I tried the rewrite module written by Sebastian that uses Apache syntax but basic stuff like
ErrorDocument 404 "Sorry, that page was not found."
isn't working. What's the generally accepted way of implementing custom error pages?