No problem. It's really not hard to do even for a non-developer. There should some recipes or code fragments available to show you the pattern.
On Jun 30, 7:15 pm, Jonatan <[email protected]> wrote: > thanks man! I know I should write some code on the main.py, the > problem is I'm not developer, just designer. I found some code but not > sure how to mod it > > Anyway thanks for the tip! > > On Jun 30, 3:31 pm, Adam <[email protected]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---
