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 [email protected] <[email protected]>
>
> Hi,
>
> how do I somehow 'redirect' all calls to appengine url to my Google
> Apps url?
>
> Something like: (Status-Line) HTTP/1.1 301 Moved Permanently
>
>
>
> if somebody calls:
>
> http://example.appspot.com I want it to be redirected to
>
> http://www.example.com
>
>
> similarily if somebody calls
>
> http://example.appspot.com/data/34354/fractal
>
> I want the browser of the user show http://example.com/data/34354/fractal
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---