GAE App Engine Deploy app.yaml returns 404

时间:2018-07-24 10:22:18

标签: php google-app-engine

I have a app.yaml that looks like this:

runtime: php55
api_version: 1
threadsafe: true
service: service1

handlers:

- url: /
script: index.php

- url: /(.+\.php).*/.*
script: index.php

I have code structured my code request with $_GET['p'] to index another PHP file, for example site.php as request['0'] looks like /site/home where "home" as request['1'] and so on.

But when I deploy it to app engine respond 404, the request request says "URL not found". Where is my missing code?

0 个答案:

没有答案