I'll second what dave said about developing locally, but you could achieve this easily by having 2 websites running on the server?
 
www.yoursite.com
 
points to
c:\inetpub\wwwroot\yoursite\
 
dev.yoursite.com
points to  
c:\inetpub\wwwroot\devsite\
 
Then they both have seperate copies of myapp
c:\inetpub\wwwroot\yoursite\myapp
c:\inetpub\wwwroot\devsite\myapp
 
 
delete any /myapp mapping that you have in cf, and roberts your mothers brother!
that should work? or am i missing something?
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Stephen Adams
Sent: 25 August 2005 12:47
To: [email protected]
Subject: [CFCDev] Working with CFC's in a development version of a live site

Hi,
 
I have a live site and a development site, which I use to test and build any fixes for the live site. Both of them are on the same server. Now I'm using components with the full address when I'm invoking them for example:
 
<cfinvoke component="MyApp.cfc.MyComponent">
 
But when I'm in the development version I have to change the invoke statement to:
 
<cfinvoke component="MyDevApp.cfc.MyComponent">
 
Is there any better way to have the two versions running on the same server, using different sets of components, so I don't have to change all the cfinvoke calls?
 
Thanks
 
Stephen
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to