【发布时间】:2016-07-12 04:58:44
【问题描述】:
更新 dispatch.yaml 时出现以下错误。
错误 400:--- 开始服务器输出 ---
验证错误:调度配置无效 - 模块“重定向”不存在。上传此模块的版本,然后重试。
--- 端服务器输出 ---
app.yaml
应用程序:测试
模块:默认
版本:1-1
运行时:php55
api_version: 1
线程安全:是
处理程序:
- 网址:/(.*)
静态文件:index.html
上传:index.html
redirect.yaml
应用程序:测试
模块:重定向
版本:1-1
运行时:php55
api_version: 1
线程安全:是
处理程序:
- 网址:/
脚本:routing.php
dispatch.yaml
发货:
- 网址:“example.com/”
模块:重定向
- 网址:“/*”
模块:默认
我可以解决它吗?
【问题讨论】:
-
你使用什么命令来部署?
-
@Chris 我尝试使用 appcfg.py -A test update /folder 和 appcfg.py -A test update_dispatch /folder。两者都不起作用。
标签: php google-app-engine redirect