You can't do redirects in your app.yaml file. You will need to write some code that will handle the URLs to be redirected and use the response.redirect method to perform the redirect.
On Jun 29, 9:32 am, Jonatan <[email protected]> wrote: > Hi, how do I have to configure the app.yaml file to redirect all urls > to a certain url? Or one url to another. > > Example I > wanthttp://test.appspot.com/helloorhttp://test.appspot.com/hello28928723 > to redirect tohttp://domain.com > > I am only serving static files at the moment. Here is my app.yaml > file: > > application: testapp > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: (.*)/ > static_files: static\1/index.html > upload: static/index.html > > - url: / > static_dir: static --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
