2016-03-24 23 views
-1

dispatch.yaml dosyasını güncellediğimde aşağıdaki hatayı alıyorum.Google App Engine dispatch.yaml Doğrulama hatası PHP modülü

Error 400: --- begin server output ---
Validation error: Invalid dispatch configuration - module 'redirect' does not exist. Upload a version of this module and try again.
--- end server output ---

app.yaml

application: test
module: default
version: 1-1
runtime: php55
api_version: 1
threadsafe: yes

handlers:
- url: /(.*)
static_files: index.html
upload: index.html

application: test
module: redirect
version: 1-1
runtime: php55
api_version: 1
threadsafe: yes

handlers:
- url: /
script: routing.php

bunu dispatch.yaml redirect.yaml tamir edebilir

dispatch:
- url: "example.com/"
module: redirect

- url: "
/*"
module: default

?

+0

Hangi komutu dağıtmak için kullanıyorsunuz? – Chris

+0

@Chris appcfg.py -A test güncelleme/klasörü ve appcfg.py -A test update_dispatch/klasörü kullanmayı denedim. İkisi de çalışmıyor. – Danny

cevap

1

Bir klasörde appcfg.py update çalıştırdığınızda, yalnızca app.yaml ile belirtilen varsayılan modül yüklenir. Ayrı olarak yüklemek istediğiniz ek modülleri belirtmeniz gerekir.

+0

Çok teşekkürler. Şuan çalışıyor. – Danny