You could probably set up something in Apache to use a custom error page for 502 (Bad Gateway) errors.
502 is the status code returned when the target of a proxy request doesn't answer (like when TG is down), so then your custom page would be displayed instead of the standard Apache 502 page. Kevin Horn On Jan 18, 2008 4:32 PM, Uwe C. Schroeder <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > > this is not really a TG issue. I have a TG app running beind Apache via > mod_proxy. Works fine. > What I'd like to do is Apache automatically serve a static page when the > TG > backend goes down, i.e. I install a patch or something and need to restart > the TG app. At that point I'd like Apache to show a static html page > saying > something like "server patches are being installed. We'll be back in a > minute". I can do this by manually changing the mod_proxy settings, but > that's really crude. > > Does anyone here know if this can be done automatically? > > Thanks > > Uwe > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

