Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Show proper page when application is down

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using Apache Webserver and Apache Tomcat for our application. Now every time app goes down for upgrade, we take down the server, and if someone hits the public URL at that time, we want to show customized page that app is down and we are working on it. How can I do that?

Thank you
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use an Apache ErrorDocument directive for the appropriate error code (probably 503).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic