404 error handling
Hi,
I have added custom error scripts in /apps/sling/servlet/errorhandler(404.jsp,default.jsp).
If I try to request below page on AEM 6.1 instance which doesn't exist:
https://localhost:4502/es_ES/hello - my personalized 404 page is displayed.
But if i request below page :
https://localhost:4502/hello - no error is showing up. Page is coming blank.
In httpd.conf i am configuring my error document like below:
<LocationMatch> \.html$
ErrorDocument <path of the error page>
</LocationMatch>
Please help me in resolving this issue. 404 page needs to be effective at the root context also.