Just wondering what's the best way to override cherrypy's default
error pages for 404/500 errors?

I'm guessing 500 errors would be covered by using
@turbogears.error_handling.when(
        "tg_exceptions is not None") as shown here:

http://docs.turbogears.org/1.0/ErrorReporting

But would that work for 404's too?  How can I then differentiate
between a 404 and another exception?

The cherrypy filter mentioned on that page would seem to cover
everything, but it seems like a lot of work for my modest needs.  I
only really want to (for now) display a different largely static page.

cheers,
          John


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to