问题标签 [app.yaml]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Google AppEngine 冲突使用 Maven 在 Codenvy 中使用 app.yaml 进行编译
我的项目配置 pom.xml 包含:
稍后直接引用 web.xml ......
....但是我的 web.xml 是空的,因为我使用 app.yaml 来定义我的处理程序。我可以删除此插件元素而不会产生任何后果吗?maven-surefire-plugin 呢?
java - 使用基本静态内容 app.yaml 进行部署时收到 GAE 错误消息
我从 GAE 收到以下错误...
从 Codenvy 部署一个简单的静态网站到 GAE 时。我很确定我搞砸了一些基本的东西......这是我目前的非功能性 app.yaml ......
google-app-engine - how to associate a filter to a servlet in app.yaml for Google App Engine?
For my app engine application, I want to assign a servlet to a url pattern, but also set up the Objectify filter as described here: https://code.google.com/p/objectify-appengine/wiki/Setup.
In my app.yaml I've got
which is routing requests to my servlet just fine, but I can't figure out how to arrange for the Objectify filter to run on the same requests that the servlet is handling.
The GAE docs say "A filter is a class that acts on a request like a servlet, but may allow the handling of the request to continue with other filters or servlets."
OK, good, that's what I want. But the docs also say "A single URL mapping can include either a filter or a servlet, but not both."
So... how do I do this?
php - 使用 PHP 将 *.appspot.com 重定向到 Google App Engine 上 WordPress 的自定义域
我在 GAE 上安装并运行了 WordPress,并通过 Google Apps 添加了我自己的自定义域。这很好,但我的 appspot.com 网址仍然可以公开访问和搜索。
我将如何阻止它并重定向到我的自定义域?
我想它涉及在指向 php 文件的 app.yaml 文件中添加一个 url 处理程序。我不知道里面会发生什么。
另外,我将如何为网站规范化和 SEO 设置 301 重定向,以说明 SSL 和 cron 条目?
任何帮助表示赞赏,谢谢!
php - PHP Google App Engine YAML 找不到目录
我的 App Engine 没有加载我的 css、javascript 或图像。我的 index.php 和 login.php 是迄今为止我能够找到的唯一文件,但是我的其他文件使用会话来防止未经授权的访问,所以我不确定我是否能够在不登录的情况下访问它们第一的。
目录结构是从 app.yaml 文件到对应的文件。
我将 Google 的 App Engine 与 PHP 一起使用,我的 YAML 代码如下
我尝试将 static_dir: 和 script: 用于样式表、javascript 和图像。奇怪的是,包含的内容可以正常工作,没有问题,但我无法让我的图像、css 或脚本正常工作。
我试图检查这些文件,但没有找到它们,但我知道它们是通过 appcfg.py 上传的。在我的日志中,它指出“没有处理程序与此 URL 匹配”。
如果有人有很棒的自述文件或有关 YAML 的任何其他信息,我将不胜感激。我已经从谷歌阅读了几次 YAML 描述并检查了 YAML 网站,我觉得我做得对。我尝试了另一个项目(更简单),它没有任何问题。
python - GAE app.yaml 子目录中脚本的脚本处理(python)
我正在设置一个新的 GAE 项目,但我无法让子目录中的脚本正常工作。
编辑:如果我去localhost:8080/testing_desc.html
我没有任何错误,只是一个空白页面(查看源也是空白的)。我的根目录中的脚本正常工作。__init__.py
根目录和子目录中都有一个。
Python 脚本示例(“/testing/testing_desc.py”):
应用程序.yaml:
我还尝试了一个更简单的 yaml 版本:
php - 向谷歌应用引擎的 yaml 添加多个 php 文件
这是我的 yaml 文件的内容:
p>静态页面工作正常,index.php 也是如此。
问题是,我无法为suggestions.php 加载我的页面。我只是得到一个空白的白页。
在我的本地服务器上它运行良好,但是当我部署到 appengine 时它是一个空白页面,所以我认为我的处理程序有问题。有什么建议吗?
php - App Engine PHP 上传文件
我试图弄清楚如何将我的文件正确上传到 Google App Engine。如果我为名为 images 的静态目录声明一个处理程序,则一切正常 - 不需要上传语句 - 但如果我尝试使用正则表达式仅上传 Web 图形,则文件(显然)不会上传。
这是我的 app.yaml:
据我所知,这就像文档所说的那样,只是针对我的图像文件夹。谁能发现我做错了什么?
非常感激!
最佳 - 乔
google-app-engine - Google Apps Engine app.yaml 文件不正确?“此网页有重定向循环”
加载我的 Google Apps Engine url 时出现错误“此网页有重定向循环”:http: //my-application-id.appspot.com(当然是我在 url 中的真实应用程序 ID)
Google Apps Engine 需要应用程序目录根目录中的 app.yaml 文件才能正常工作。这是我文件的内容....
我的 app.yaml 文件设置是否正确?我的应用程序的 install.php 文件与 wordpress install.php 文件的工作方式非常相似。您可以从 Web 浏览器访问它并完成基本设置。如果我的 app.yaml 文件正确,为什么我的浏览器中仍然显示“此网页存在重定向循环”错误?
还尝试了其他浏览器,清除 cookie 等。应用程序安装屏幕在我的 SDK 中完美加载,但不在 Google Apps Engine 上。我究竟做错了什么?
php - CodeIgniter + Google App Engine - 所有链接都转到索引页面
我是第一次使用 Google App Engine。我正在尝试上传与 CodeIgniter 合作过的网站。我已经成功上传了网站。但问题是,每当我点击一个链接时,它都会转到同一个索引页面,甚至是 CSS 和 JS。
我的 app.yaml 粘贴在下面: