本文介绍了需要有关本地 CF9/Jrun 安装上的多个 URL 设置的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地 Windows XP 机器上运行 ColdFusion 9 Developer 版本.我已经将它与嵌入式 Web 服务器一起安装,我相信它是 JRun.

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.

现在,我只能访问位于 127.0.0.1:8500/whatever 的网页 - 我的所有应用程序都放在单独的目录中,即:127.0.0.1:8500/app1、127.0.0.1:8500/app2、等等

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.

我想设置它,以便我可以访问每个应用程序:app1.mylocalserver.com、app2.mylocalserver.com 等.

I want to set it up so that I can access each app at: app1.mylocalserver.com, app2.mylocalserver.com, etc.

我已编辑主机文件,以便将这些域路由到我的本地计算机.但是如何让 CF9/Jrun 识别这些 url 并正确处理它们呢?我一直在玩 WEB-INF/jrun-web.xml 文件,但它似乎只处理虚拟文件映射.

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.

提前感谢您的帮助!

加里

推荐答案

我不建议使用内置的 Web 服务器.不能安装 Apache 或使用 IIS 吗?

I wouldn't suggest using the built in web server. Can't you install Apache or use IIS?

这篇关于需要有关本地 CF9/Jrun 安装上的多个 URL 设置的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-30 00:15