【发布时间】:2014-04-14 08:41:18
【问题描述】:
我有人让 appengine 模块工作。我有两个模块,app 和 auth。我有一个自定义域说 domain.com,我想将 app.domain.com 路由到应用模块,以及 auth.domain.com授权模块,下面是我的 dispatch.xml 文件,
<dispatch>
<!-- Default module serves simple hostname request. -->
<url>*/favicon.ico</url>
<module>default</module>
</dispatch>
<dispatch>
<!-- Auth Service to auth module -->
<url>auth./*</url>
<module>auth</module>
</dispatch>
<dispatch>
<!-- Default module serves simple hostname request. -->
<url>*/favicon.ico</url>
<module>default</module>
</dispatch>
因为 app 模块是默认的 app.domain.com 已成功路由,但我无法将 auth.domain.com 路由到 auth 模块,它始终指向默认模块,
如何将自定义域路由到服务器特定模块?
谢谢
【问题讨论】:
标签: java google-app-engine gae-module app-engine-modules