Custom Error Responses by .htaccess ErrorDocuments following HTTP response status codesOne of the important use of the .htaccess file is to redirect users to a custom error page depending on the specific web server error…