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

限于喜欢 提交于 2019-12-02 07:51:10

问题


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


回答1:


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




回答2:


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)




回答3:


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.



来源:https://stackoverflow.com/questions/4588350/need-help-with-multiple-url-setup-on-local-cf9-jrun-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!