I would like to know if it is possible to generate a dynamic error page from the parameters passed to an html page and take these parameters through a javascript code? Or in any other way you do not need to create a page for each error.
Example:
ErrorDocument 400 /error.html?400
ErrorDocument 401 /error.html?401
ErrorDocument 403 /error.html?403
ErrorDocument 404 /error.html?404
ErrorDocument 500 /error.html?500