This project is read-only.

404 and error handling?

Topics: Administration, General
Nov 23, 2015 at 5:05 PM
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 access to.

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?