It's tricky...

There's a couple issues that are real gotchas doing things this way.
The short answers are:

Yes, CFMX 6.1 and 7 will co-exist on the same server, both running at
the same time.
No, without modification, the Jrun connectors won't load into Apache
because the connector name "jrun_module" is "owned" by whichever loads
first and there's only one internal namespace for Apache connectors.
There's a couple things  you can do:

1) In CFMX 6.1, unzip the ApacheModuleColdFusion.zip file, edit the
source to change any reference to jrun_module to read cmfx_module, and
compile the connector. Then use that new name in your apache vhost
config. I'm not even sure if this is LEGAL by Macromedia's EULA for
the connector, and it's certainly not supported. But, I played with it
a while back and it works.

Compile instructions are in the associated txt file in the zip or here:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18748

It's nice, because you can load DSOs on a per-vhost basis... and use
ifmodule to only load it if needed. Mind you, though, that even
separate apache vhosts will share a common application scope because
all CFMX variables are managed in CFMX's memory space, NOT apache's.

2) Quit using the connector altogether and use mod_proxy and
mod_http_proxy to pass all requests for .cfm files to the CFMX server
of your choice (based on your vhost's proxy config). For more info,
see this:

http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/balancing_j2ee03.html

The disadvantage is it's tricky to set up and get right. The major
advantages are the ability to handle friendly URLs and even the fact
that you can use any CFMX server you have access to... i.e. same box,
different box, different network, etc. Very cool stuff.

HTH,
J

On 4/26/05, wolf2k5 <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am running ColdFusion MX 6.1 Server Configuration on Red Hat
> Enterprise Linux 3 with Apache HTTP Server 2.0.46.
> 
> Can I install CFMX 7 Server Configuration on the same Linux server and
> use it only for a few Apache virtual hosts, while keeping using CFMX
> 6.1 for the other virtual hosts?
> 
> If so, how do I do it?
> 
> Thanks.


-- 
---------------
-------------------------------------
Buy SQLSurveyor!
http://www.web-relevant.com/sqlsurveyor
Never make your developers open Enterprise Manager again.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204580
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to