Try this.

handlers:

- url: /
  static_files: static/index.html
  upload: static/index.html

- url: /
  static_dir: static/


It autocalls the index.html and can read all static files, e.g. all
links from index.html to another static htmls including from
subdirectories.
Think, it's enough to run static site on App Engine.

good luck.

On 10 дек, 13:41, Jonathan B <[EMAIL PROTECTED]> wrote:
> On Dec 9, 5:12 pm, slatvick <[EMAIL PROTECTED]> wrote:
>
> > But current problem that index.html does not load automatically and
> > you need to write full domain path :www.yourdomain.com/index.html
>
> In app.yaml you specify which script will execute (for example,
> index.py).  Inside index.py you need to return a 303 Redirect as a
> response, telling the user's browser to go to "www.yourdomain.com/
> index.html".  How you do this will depend on which web framework you
> are using. In web2py, just use the redirect() global function.
>
> After a quick search, here's a hint on how it might work in Django:
>
> response = HttpResponseRedirect("www.yourdomain.com/index.html")
>
> For the full 
> documentation:http://docs.djangoproject.com/en/dev/ref/request-response/
>
> Here's the documentation for plain Google App 
> Engine:http://code.google.com/appengine/docs/webapp/redirects.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to