I'm trying to hide the error states returned by Apache. I want all error code (403, 404, 500, ...) to return the same status code (for example 404).
I know how to hide that there are certain resources that exist sending a fake status code, using RedirectMatch Ej
RedirectMatch 404 ^ / phpmyadmin (/.*)?$
RedirectMatch 404 ^ / server-status (/.*)?$
RedirectMatch 404 ^ / munin (/.*)?$
But I wish I could hide any error messages (banned, not found ...) without having to indicate each of the resources