如何在 Google App Engine 中启用 url 重写

How to enable url rewriting in Google App Engine

我正在尝试在 Google App Engine 上移植一个网络应用程序。 我将源文件放在 GAE 启动器上,我创建了 app.yaml 和其他文件。现在应用程序是 运行,当它执行一些脚本来检查安装的服务器兼容性时,它 returns 我如下:

The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly. It must be enabled to make TAO running properly.

如何在 GAE 中启用 url 重写?

Google App Engine(或非 Apache 网络服务器)上没有 mod_rewrite。您可以使用本指南来模拟它,但这并不意味着您尝试安装的软件包将停止抱怨。 https://cloud.google.com/appengine/docs/php/config/mod_rewrite