Default document in Google App Engine -


is possible specify equivalent of default document directories in google app engine navigating directory automatically redirects index.html example, if contains one?

if have in app.yaml:

- url: /demos   static_dir: demos 

and demos directory contains index.html page, how can tell app engine automatically redirect page?

app engine uses regular expression matches on request path determine script call or document serve. if have 1 index document, can this:

- url: /demos/   static_files: demos/index.html   upload: demos/index\.html 

more generally, can define static files paths ending in slashes ('directories') this:

- url: /(.*)/   static_files: \1/index.html   upload: .*/index\.html 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -