Error handling for all extensions
Hi!
I added custom error scripts in /apps/sling/servlet/errorhandler/ (403.jsp, 404.jsp, default.jsp and Throwable.jsp).
If I try to display an unexisting page on my AEM 5.6.1 instance with .html extension, for example http://localhost:4502/content/mysite/mypath/unexistingpage.html), my personalized 404 page is displayed.
But if I try to display this same page without the extension (http://localhost:4502/content/mysite/mypath/unexistingpage), the browser's error page is displayed, same if I put .htm extension.
Any idea how to handle all these error cases?
Thanks for help !