我正在使用 pimcore (ZendFramework) 构建应用程序,该应用程序托管在 Linux EC2 (Apache) 实例上,另外一个应用程序托管在 Windows IIS 上。
现在我希望这两个应用程序都以以下方式运行:
- http://example.com/app1将重定向到 pimcore
- http://example.com/app2将重定向到托管在 IIS 上的应用程序
我不能为此使用子域。我试图使用 IIS 的 URL 重写 (ARR)。但是 ZendFramework 给出了以下错误:
Zend_Controller_Router_Exception No route, document, custom route or redirect is matching the request