[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread richardcur...@googlemail.com
I tried it. But when I call my appspot url now directly I get a webpage: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. My main domain works

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread richardcur...@googlemail.com
Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread 风笑雪
Good article, thanks~ 2009/4/18 ctran > > Try this: > > > http://appengine-cookbook.appspot.com/recipe/redirect-from-appspot-to-your-domain > > On Apr 18, 9:18 am, "richardcur...@googlemail.com" > wrote: > > I know in principle how to redirect. > > > > The point is, all appengine python handler

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread ctran
Try this: http://appengine-cookbook.appspot.com/recipe/redirect-from-appspot-to-your-domain On Apr 18, 9:18 am, "richardcur...@googlemail.com" wrote: > I know in principle how to redirect. > > The point is, all appengine python handler classes are identical for > both > > http://example.apps

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread richardcur...@googlemail.com
I know in principle how to redirect. The point is, all appengine python handler classes are identical for both http://example.appspot.com and http://www.example.com So I had to check in EVERY python handler class - is the call coming from example.appspot.com - if yes redirect to www.example.co

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread 风笑雪
Sorry class Handler(webapp.RequestHandler): def get(self): self.set_status(301) self.redirect("http://www.example.com";) # this is what you want to redirect to 2009/4/18 风笑雪 > class Handler(webapp.RequestHandler): > def get(self): > self.set_status(301) > self.redirect("/home

[google-appengine] Re: Redirect all calls to appengine url to my Google Apps url

2009-04-18 Thread 风笑雪
class Handler(webapp.RequestHandler): def get(self): self.set_status(301) self.redirect("/home") and make Handler class to handle your url. 2009/4/18 richardcur...@googlemail.com > > Hi, > > how do I somehow 'redirect' all calls to appengine url to my Google > Apps url? > > Something