I've installed a custom error page, so let's see what comes up the next time I
have to reset TG. Maybe I'll try that some time tonight when few users are
online.
Thanks
Uwe
On Friday 18 January 2008, Kevin Horn wrote:
> 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
>
>
--
UC
--
Open Source Solutions 4U, LLC 1618 Kelly St
Phone: +1 707 568 3056 Santa Rosa, CA 95401
Cell: +1 650 302 2405 United States
Fax: +1 707 568 6416
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---