I have done this, not the co-exist with CF5 part though.  Its a PITA
but doable.  I use the J2EE install on JRUN.

1) create an instance of JRun server and install CFMX by way of the
ear file with a context root of /  call it CFMX
2) start the instance  CFMX
3) create a new site in IIS on a different port, say port 99, call it
CFSITE.  Note I said site, not virtual dir.
4) start wsconfig and associate the CFMX instance with this IIS site
called CFSITE.
5) test this new IIS site with CF.  THis code is a nice test
 <cfobject action="create" type="java" class="jrunx.kernel.JRun" name="jr">
<cfset servername = jr.getServerName()>
server name <cfoutput>#servername#</cfoutput>
6) provided 5 passed the test, create your virtual dir, call it MYCF
in IIS IN YOUR DEFAULT SITE, not in the CFSITE site.
7) Now, in the IIS mmc snapin, right click on your virtual dir choose
properties.  Hit the tab and choose configuration to modify file
extension mappings.  Make all your extension mappings the same as for
the IIS site CFSITE.
8) Now in your virtual dir MYCF create another virtual directory
called JRunScripts mapped the same as for the virtual dir called
JrunScripts under your IIS site CFSITE.
9) drop the code above into your virtual dir area and test.

That was a very brief outline I know, you will need to know abit about
IIS and JRun/CFMX.  I'm planning to draw this all up in detail
someday, just don't have the time at the moment. Using this approach
you could have several virtual directories pointing to different CFMX
instances.   I've had to do this to avoid redirecting a few thousand
users to a different site.  I don't know how this will work with CF5
around though.

D


On Sat, 12 Mar 2005 09:08:38 -0500, ColdFusion Developer
<[EMAIL PROTECTED]> wrote:
> hmm but wont that that the CFM file and process it through the CF5
> Application server
> since IIS has the .cfm config setup for the CF5 dll?
> 
> Can you specify a different DLL for various sites?
> 
> 
> jonese wrote:
> 
> >i think i understand  you and i'm pretty sure this can be done with
> >the IIS virtual directory action.
> >
> >jonese
> >
> >
> >On Sat, 12 Mar 2005 07:30:59 -0500, ColdFusion Developer
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Does anyone know if it is possible in IIS to create the virtual
> >>directory pointing to
> >>a CFMX 6.1 application under:
> >>
> >>CFUSIONMX \ WWWROOT \ THISAPP
> >>
> >>Catch is, I also have CF5 co-existing on the machine. and IIS home
> >>directory points to
> >>a folder of wwwroot which is mainly CF5 applications.
> >>
> >>I would like to be able to do this:
> >>http://127.0.0.1:8500/ThisApp
> >>
> >>Which would point to the directory of:
> >>
> >>F:\CFusionMX\wwwroot\ThisApp\www\
> >>
> >>Maybe it is just too early for my (drunken) brain to hold this morning.
> >>
> >>
> >>
> >>
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198542
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to