开发者

Need help with multiple URL setup on local CF9/Jrun install

开发者 https://www.devze.com 2023-02-02 11:59 出处:网络
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.

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开发者_如何学Python 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?


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)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消