嗨我試圖讓EasyAppointments在Google App Engine上運行。 (基於php的預約安排 - 不要問我爲什麼please..kinda「被迫」做吧..)Google App Engine - 如何設置app.yaml的請求,如:index.php/foo/bar?
我得到的安裝屏幕顯示,但有一個與我的app.yaml一個問題:
當試圖運行安裝有一個「index.php /約會/ ajaxInstall」的請求,但它只是返回一個404。必須有一個錯誤,但我似乎無法找到它......(還沒有用過gae呢。 。所以我不太熟悉app.yaml的配置)
我希望有人能給我一個提示。
繼承人我的app.yaml(注:所有數據都位於目錄 「terminbuchung」):
application: xyz
version: terminbuchung
runtime: php
api_version: 1
handlers:
- url: /(.*\.(ico$|jpg$|png$|gif$))
static_files: terminbuchung/\1
upload: terminbuchung/(.*\.(ico$|jpg$|png$|gif$))
application_readable: true
- url: /(.*\.(htm$|html$|css$|js$))
static_files: terminbuchung/\1
upload: terminbuchung/(.*\.(htm$|html$|css$|js$))
application_readable: true
- url:/
script: terminbuchung/index.php
- url: /index\.php/(.*)
script: terminbuchung/index.php/\1
- url: /(.+\.php)(.*)$
script: terminbuchung/\1
是否所有的腳本都能正確工作和映射? 腳本:terminbuchung/index.php文件/ \ 1 腳本:terminbuchung/\ 1個 腳本:terminbuchung/index.php文件 –
羅試圖請求東西一樣的index.php /富/酒吧時,有404 - 但不該網址參數工作..但我發現我的錯誤..看下面。 但非常感謝回覆! – techWiz