www.urapp.com/urldomainname
1) your app.yaml file will have this handler
handlers:
- url: /.+
script: code.py
2) code.py will have something like this
class URLHandler(webapp.RequestHandler):
def get(self):
var1 = self.request.path #this will give you everything after the
www.myapp.com
# import os
# print os.environ # u can use this dict as well for whatever values u
r looking for from the incoming req
def main():
run_wsgi_app(webapp.WSGIApplication([('/.+', URLHandler)]))
hope this helps !
cheers !
--
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.