Hi, all.

 

I've started using two different folders on my servers for each site.

The first is for viewing a site online during development and the second

folder is for production.

 

That is creating path issues with my component path notation.

 

If a path is on the index.cfm in the root of a site, I can use:

 

components.myComponent

 

The path above works for both development and production sites

since the "component" directory is always directly under the root.

 

However, on all other pages, such as .cfm pages within a cfm directory,

I have been just specifying my webroot in the path to make it work:

 

mySite.components.myComponent

 

But with different root directories for development and production,

that won't work.

 

Locally, I have this directory structure:  (Typically, I just mirror this
structure

on my production site, so there haven't been any problems)

 

mySite.components.myComponent

 

However, now I'm using SVN to automatically FTP changes "on commit" to

the following structure for the development version of the site:

 

mySite-dev.components.myComponent

 

On my server, the production site is under:

 

mySite.components.myComponent

 

So, I have two sites online that I need to use depending on whether

I want to publish to the development version or the production version.

 

How can I work my paths so they function under each situation?

 

Thanks!

 

Rick




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to