Apache 2.2: Is it possible to redirect different 503 page based on URL?

Posted by Wilson60 on Server Fault See other posts from Server Fault or by Wilson60
Published on 2012-12-08T16:45:47Z Indexed on 2012/12/08 17:06 UTC
Read the original article Hit count: 177

Filed under:
|
|

Hi I am beginner in using Apache server, all my experience were from official doc and online tutorial.

For example: My setup (usual Apache server -> tomcat server) and I have two domains configured using virtual hosts directive in httpd.conf

  1. www.domain-one.com
  2. www.domain-two.com

If tomcat is down, I wish to display different 503 error page for two different domains. Is that possible? If so can I have any guide or instruction ? I searched through online but couldn't get what I want. Not sure if it was caused by the wrong keyword or wrong term.

Thanks!!

© Server Fault or respective owner

Related posts about apache2

Related posts about tomcat