The problem is likely in your code. the app.yaml sends the request to
your code 'contact.py'. However contact.py must then direct that
request to the proper handler. This is because a script can
potentially handle many different types of requests.
If your code is written similarly to many Google Example Apps (using
webapp), it should have a line like this at the bottom:
def main():
application = webapp.WSGIApplication([('/', YourHandler)],
debug=True)
util.run_wsgi_app(application)
This is the section that routes requests. You would need to change
this to pattern match the URL you specify, something like this:
def main():
application = webapp.WSGIApplication([('/index.html', YourHandler)],
debug=True)
util.run_wsgi_app(application)
More on this can be found here:
http://code.google.com/appengine/docs/python/tools/webapp/running.html
If you're using some other platform, they should have their own system
for URL routing.
--
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.