With Secure Proxy Server, when Tomcat is shutdown/ not contactable, HTTP server error 503 is returned to end user as Apache failed to forward requests to Tomcat.
OOTB error:
==========================================================================
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
==========================================================================
How to customize the error, indicative of Tomcat is not available?
All SPS releases.
To customize the error, update the ErrorDocument
directive in <SPS>\httpd\conf\httpd.conf file.
The syntax of the ErrorDocument
directive is:
ErrorDocument <3-digit-code> <action>
where the action will be treated as:
https://httpd.apache.org/docs/2.4/custom-error.html
https://httpd.apache.org/docs/2.4/mod/core.html#errordocument