Thanks for the help. that works. 2009/2/23 Steffen 'stefreak' Neubauer <[email protected]>: > On Mon, 23 Feb 2009 23:25:48 +0000 > Dave Warnock <[email protected]> wrote: >> How/where do I define my 404 page and get it to be displayed when I >> declare error(404)? > You have to send it as response to the client manually. > e.g. > self.error(404) > self.response.out.write("""<html><head> > <title>Not Found</title> > </head><body> > <h1>404 - Not Found</h1> > Sorry, but this file could not be found by our webserver. > </body></html>""") >
-- Dave Warnock: http://42.blogs.warnock.me.uk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
