python - Google app engine subfolder not working - PHP -
my app.yaml below
handlers: - url: /static static_dir: static - url: /static script: /static/index.html - url: / script: index.html
so need when access url http://xyz.appspot.com/static ...it should show content of static/index.html
....but not found error...whereas http://xyz.appspot.com/static/index.html working fine
you have not defined handler, need like
handlers: - url: /static static_dir: static - url: /static/ static_files: static/index.html upload: static/index.html - url: / static_files: index.html upload: index.html
php python google-app-engine yaml
No comments:
Post a Comment