How to change the out of service page
From PTAGISWiki
When Apache does not receive a response from weblogic before the timeout period, an error page is displayed.
This behavior is defined in the httpd.conf for ptagis at:
bay:/usr/local/apache2/conf
<IfModule mod_weblogic.c> WebLogicCluster bay:7003,jack:7003 MatchExpression *.jsp #MatchExpression /ptagis/home/regTagAction WebLogicHost=pitblade|WebLogicPort=7001|Idempotent=O FF Debug OFF ErrorPage http://www.ptagis.org/down.html WLLogFile /var/log/bea/wlproxy.log HungServerRecoverSecs 30000 </IfModule>
The contents of down.html should be updated to give users information about known maintenance windows and events.
down.html lives here:
bay:/usr/local/pitweb/ptagis/htdocs/down.html
It generally looks like this (for unknown downtime):
bay:D2:root: > cat down.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>PTAGIS currently unavailable</title> </head> <body> <img alt="PTAGIS currently unavailable." src="darksite.jpg" style="width: 744px; height: 440px;"><br> <span style="font-family: helvetica,arial,sans-serif;"> <big><big> This website is currently unavailable.<br> <br><br> </span> <br> </body> </html>
