For that I just wrote: - url: / static_dir: static/
But current problem that index.html does not load automatically and you need to write full domain path : www.yourdomain.com/index.html On 27 нояб, 14:27, Jonathan B <[EMAIL PROTECTED]> wrote: > Hi Wen Long, > > On Nov 26, 12:27 pm, wenlong <[EMAIL PROTECTED]> wrote: > > > and I must create a new folder named "static" and put all these htm > > files in this folder? > > No, you don't have to do this, but you *can* do this. The code I gave > you is one example of how to do it. > > The point is that app.yaml allows you to decide how your application > will work. You decide which of your files are static, and which files > are dynamic. > > Here's another way of doing it that should let you display yourindex.htmlfile > in your browser (caveat: I did not check to see if > this code runs): > > - url: /(.*\.(html|htm)) > static_files: \1 > upload: (.*\.(html|htm)) > > I hope that helps, > > --Jonathan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
