While discussing error page locations with Sameer (via dev list and support), it was suggested that this feature may make it into next version.
The goal would be to mimic web.xml error page logic where one can define an error code or exception (or both) and specify Magnolia page that should be displayed when such error/exception occurs.
<error-page> <error-code>404</error-code> <location>/errors/404.html</location> </error-page>Now, as far as I can tell, there is no other way than mapping all error codes in web.xml - we could do so by default, and a have location like /.magnolia/error which would take care, based on some configuration, render the configured page for the different codes, but
Any suggestion ?