I am trying to use webapp.WSGIApplication to automatically map urls
that are not otherwise mapped to a special 'not_found_handler' which
would render a 'Page Not Found' response. My app.yaml maps all urls to
a main.py which includes the following webapp.WSGIApplication. I have
tested it but it does not work. Can anyone tell me what I am doing
wrong?

application = webapp.WSGIApplication([
                                      ('/', MainPage),
                                      ('/other_page',
other_page_handler),
                                      ('/another_page',
anothe_page_handler),
                                      (r'/(.*)', not_found_handler)],
                                      debug=True)

[You can also see the error yourself by visiting
proshortsetf.appspot.com]

thanks,
Alok
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to