How to configure custom error page in Apache httpd

Solution Verified - Updated -

Issue

  • How to customize an error page in Apache when an HTTPD server receives the error code 503.
  • How to verify whether the customized page properly seen from clients.
  • How to display a blank page instead of the error code.
  • I want to show a specific .html page when a 404 error happens in Apache HTTPD.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat Enterprise Web Server (EWS)
  • Red Hat JBoss Web Server (JWS)
  • Red Hat JBoss Core Services (JBCS)
  • Apache HTTPD

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In