为Google AppEngine配置app.yaml以提供PHP的ajax请求

时间:2018-01-20 19:40:15

标签: php ajax google-app-engine

我是一个简单的文件夹结构,

main
 |__core
      |__start.php
      |__bootstrap.php
js
 |__file.js

css
 |__file.css

index.php

现在,file.js xhr request使start.php转为app.yaml,我发现了500错误。

这是我的runtime: php55 api_version: 1 handlers: - url: / script: index.php - url: /js static_dir: js - url: /css static_dir: css

- url: /main/core/.*
  script: start.php

现在我不确定我是否也想这样做:

<style>

顺便说一句,这对我来说似乎并不完全合法。

0 个答案:

没有答案
相关问题