Apache is not showing 404 at missing page URL instead redirecting to error page URL
I want to handle the error scenarios from WebServer(Apache) instead of AEM sling error handler as I wanted error pages to get cached in the dispatcher
when I let apache handle the errors i followed 2 steps
step1:
added the below code to a .conf file and added that to the individual vhost
how can I achieve the below:
non-existent-page.html does not exist, and the user is trying to access that page and triggered a 404 error.
Can I show the requested page URL: http://www.example.com/non-existent-page.html
instead it is redirecting to the error page URL:http://www.example.com/errors/404.html