hi, there are two types of pages in my application. it will be like;
home : http://myapp.appspot.com print "hello world" subdomains : http://something.myapp.appspot.com print "something" so, I did experiment a bit, but I can not run. #!/usr/bin/env python import webapp2 from webapp2_extras import routes class HomeHandler(webapp2.RequestHandler): def get(self): self.response.out.write('Hello world!') class SubdomainHomeHandler(webapp2.RequestHandler): def get(self,siteUrl): self.response.out.write(siteUrl) app = webapp2.WSGIApplication([ routes.DomainRoute('<subdomain>.cevremde.appspot.com', [ webapp2.Route('/', handler=SubdomainHomeHandler), ]), webapp2.Route('/', handler=HomeHandler), ]) Where did I go wrong? thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/URgAsqoyUeEJ. 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.
