On Jan 11, 7:21 am, Sahid Orentino Ferdjaoui <[email protected]> wrote: > Hello All, > > I have a app with different versions. > All versions use the same code but i would like configure my app.yaml to use > differente script by versions. > > hum... i don't know if i'm understable :) > > An example *(app.yaml)*: > handlers: > - url: server1.APPID.appspot.com/.* > - script: servers/server1/main.py > > - url: server2.APPID.appspot.com/.* > - script: servers/server2/main.py > > - url: /.* > script: main.py > > How do that? or something like... > > Thank a lot! > > --sahid
You can't; the dispatcher that uses the app.yaml files to map URLs to scripts isn't that smart. The only real solution is to map everything to a single script in app.yaml, and have that script handle the dispatching to other scripts based on hostname. -- 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.
