需要关于本地CF9 / Jrun安装的多个URL设置的帮助 [英] Need help with multiple URL setup on local CF9/Jrun install
问题描述
我在我的本地Windows XP计算机上运行ColdFusion 9 Developer Edition。我已经安装了嵌入式Web服务器,我相信是JRun。
现在,我只能访问网页127.0.0.1:8500/whatever - 所有我的应用程序放置在单独的目录,即:127.0.0.1:8500/app1,127.0.0.1:8500/app2等。
我想设置它可以访问每个应用程序:app1.mylocalserver.com,app2.mylocalserver.com等。
我已经编辑了hosts文件,以便这些域将路由到我的本地机器。但是如何让CF9 / Jrun识别这些网址并正确处理它们?我已经在使用WEB-INF / jrun-web.xml文件,但似乎只处理虚拟文件映射。
感谢您提供任何帮助! p>
Gary
我不建议使用内置的网络服务器。您不能安装Apache或使用IIS?
I am running the ColdFusion 9 Developer edition on my local Windows XP machine. I've installed it with the embedded web server, which I believe is JRun.
Right now, I can only access web pages at 127.0.0.1:8500/whatever - with all of my apps being placed within separate directories, i.e.: 127.0.0.1:8500/app1, 127.0.0.1:8500/app2, etc.
I want to set it up so that I can access each app at: app1.mylocalserver.com, app2.mylocalserver.com, etc.
I have edited the hosts file so that these domains will be routed to my local machine. But how do I get CF9/Jrun to recognize these urls and handle them correctly? I have been playing with the WEB-INF/jrun-web.xml file but that seems to handle virtual file mappings only.
Thanks in advance for any help!
Gary
I wouldn't suggest using the built in web server. Can't you install Apache or use IIS?
这篇关于需要关于本地CF9 / Jrun安装的多个URL设置的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!