如何设置不同的 CF 实例来处理子目录?
我想做的是让不同的 CF 实例处理对“domain.com”、“domain.com/subdir”、“domain.com/subdir2”等路径的请求。这是使用 CF8 Enterprise 和 IIS 7如果实例之间的域不同,则很容易做到。我相信我已经阅读过有关使用子文件夹执行此操作的信息,但无法再找到必要的信息。任何建议将不胜感激。
What I would like to do is have different CF instances process requests for the paths such as "domain.com", "domain.com/subdir", "domain.com/subdir2", etc. This is with CF8 Enterprise and IIS 7. It is easy enough to do if the domains are different between instances. I believe I have read about doing this with subfolders but can no longer find the necessary information. Any suggestions would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在各个目录级别手动调整处理程序映射才能使用所需的 CF 服务器实例。这将覆盖根站点的处理程序映射,但您无法使用 CF 附带的
wsconfig.exe
工具进行配置。我认为您最好使用单独的域和单独的 IIS 站点来处理它。
You would need to manually adjust the handler mappings at the individual directory level to use the CF server instance you want. This would override the handler mappings from the root site, but isn't something you can configure with the
wsconfig.exe
tool that comes with CF.I think you're far better off handling it with a separate domain, and separate IIS site.