需要有关本地 CF9/Jrun 安装上的多个 URL 设置的帮助

发布于 2024-10-10 07:55:18 字数 424 浏览 0 评论 0原文

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

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

。我想要对其进行设置,以便我可以访问以下位置的每个应用程序:app1.mylocalserver.com、app2.mylocalserver.com 等。

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

预先感谢您的任何帮助!

加里

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

冷清清 2024-10-17 07:55:18

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

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

阳光①夏 2024-10-17 07:55:18

如果您更改了它,使这些名称定向到您的 IP,您难道不应该能够进入站点管理并在那里引用它吗?

我也使用内置的(对于 XP 上的 CF 9),到目前为止我还没有遇到任何问题(这样使用它已经一年多了)

if you changed it so those names are directed to your IP, shouldn't you just be able to go into site management and reference it there?

I use the built in one as well (for CF 9 on XP) and so far i haven't had an issue with it (been using it this way for over a year)

吻风 2024-10-17 07:55:18

我不知道配置多个 URL。在IIS中,可以很简单地配置多个具有不同端口的URL或绑定不同的IP地址。

I have no idea to configure multiple URL. In IIS, it's simple to way configure multiple URL with different ports or binding different IP address.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文