ColdFusion 9,Tomcat 7,Apache和虚拟主机 [英] ColdFusion 9, Tomcat 7, Apache and vhosts

查看:116
本文介绍了ColdFusion 9,Tomcat 7,Apache和虚拟主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功地在Tomcat 7中成功安装了CF9(战争),并通过Apache虚拟主机将两者链接在一起.我正在使用ajp代理.cfm请求,以及其他重写URL到Tomcat 7,其中Apache负责其余的内容.

I've successfully managed to install CF9 (war) in Tomcat 7, linking the two via Apache vhosts. I'm using ajp to proxy .cfm requests, and other rewrite urls to Tomcat 7 with Apache serving the rest of the content.

但是,每个虚拟主机在虚拟主机根目录中需要自己的ColdFusion WEB-INF副本.这可以很好地工作,但是它会对具有唯一CF实例的每个cf站点产生副作用.映射,DSN和所有其他设置是自定义的,不会在CF站点之间共享.

However, each vhost needs its own copy of the ColdFusion WEB-INF in the vhost root. This works fine, but it has the side affect of each cf site having a unique instance of CF. The mappings, DSNs and all other settings are custom and not shared between the CF sites.

我真的很想结合每个WEB-INF,以便它们只是我整个开发设置中的一个,有点像JRun4过去的工作方式.

I'd really like to combine each WEB-INF so that they're is just one for my entire dev setup, kinda like how JRun4 used to work.

有什么想法吗?

推荐答案

我认为对于Tomcat来说这是不可能的,因为我们有两个单独的实例,并且都有两个单独的安装文件.

I don't think this is possible with Tomcat as we have two separate instances and both separate installation files.

这篇关于ColdFusion 9,Tomcat 7,Apache和虚拟主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆