【发布时间】:2018-09-26 07:13:50
【问题描述】:
我对 Google App Engine 完全陌生,app.yaml 严重困扰了我,我无法弄清楚,我到处寻找,但似乎没有任何效果。这是我的 .yaml,一切都在 XAMPP 上运行,但我似乎无法让它在 App Engine 上运行/运行。
runtime: php55
api_version: 1
handlers:
- url: /(.*\.(ico$|jpg$|png$|gif$|htm$|html$|css$|js$|xml$))
static_files: \1
upload: (.*\.(ico$|jpg$|png$|gif$|htm$|html$|css$|js$|xml$))
application_readable: true
- url: /(.+)
script: \1
- url: /
script: index.php
我的索引中的包含,例如<?php include "/static/include/header.php";?> 没有显示在我的页面上,并且该文件也包含我所有的样式/css 等,以及您如何处理GET_[] 它只是更改了网址但它不会被页面处理。到目前为止,我的 logo.png 显示在我的索引上,但到目前为止,我无法弄清楚。
示例:.php?ID=99999999&group=All
我认为我需要对 YAML 做一些事情才能真正完成上述工作。
此页面无法运行 rank.games 目前无法处理 这个请求。 HTTP 错误 500
当我给上面的例子加上后缀时,这就是我得到的。
【问题讨论】:
标签: php google-app-engine include app.yaml