谷歌应用程序引擎子文件夹不工作-PHP


Google app engine subfolder not working - PHP

我的app.yaml如下

handlers:
- url: /static
  static_dir: static
- url: /static
  script: /static/index.html
- url: /
  script: index.html

所以我需要的是当我访问url时http://xyz.appspot.com/static。。。它应该显示CCD_ 1的内容。。。。但是我找不到错误。。。鉴于http://xyz.appspot.com/static/index.html运行良好

您还没有定义处理程序,您需要类似的东西

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