Google app engine google Gae php:未找到自定义Url

Google app engine google Gae php:未找到自定义Url,google-app-engine,Google App Engine,我正在使用谷歌应用程序引擎上传我的php文件。 例如,这是我的测试urlhttp://testing12399234.appspot.com/index.php,每当找不到url时,我希望页面指向http://testing12399234.appspot.com/index.php,例如访问http://testing12399234.appspot.com/randomblabla12312必须显示http://testing12399234.appspot.com/index.php。我知

我正在使用谷歌应用程序引擎上传我的php文件。
例如,这是我的测试url
http://testing12399234.appspot.com/index.php
,每当找不到url时,我希望页面指向
http://testing12399234.appspot.com/index.php
,例如访问
http://testing12399234.appspot.com/randomblabla12312
必须显示
http://testing12399234.appspot.com/index.php
。我知道可以通过.htaccess使用。但是如何在google GAE中使用.htaaccess

app.yaml文件保存应用程序的处理程序。与请求的URL匹配的第一个处理程序用于服务请求。在链接文档中,最后一个处理程序是:

- url: /.*
  script: not_found.php
因此,这将匹配任何尚未匹配的URL,并将其发送到您的自定义未找到页面。只需确保它是配置文件中的最后一个处理程序,否则它将优先于其他处理程序