I have a project now that I have 4 different servers to test it. And I thought that if I would have a general solution such as relational files that would be nice. :)
-----Original Message----- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Dienstag, 11. April 2006 23:58 To: CF-Talk Subject: Re: CFC Root It would be better to create a CF mapping named "/abc" to a location outside of the webroot, such as E:/projects/abc.com/com/abc/ and then create cfc & customtag directories under the new mapping. You would end up with: E:/projects/abc.com/com/abc/cfc/ E:/projects/abc.com/com/abc/customtags/ You would then access your cfc's using the mapping abc.cfc.mycfc For custom tags you could use <cfmodule template="abc/customtags/mycustomtag.cfm"... Aftershock Web Design, Inc. by: Stan Winchester President/Developer http://www.aftershockweb.com/ >Hi, > >I have a simple code to create a dynamic CFC root and it works for my local >system (WinMCE 2005). > ><cfset request.cfcroot = >"#Replace(listDeleteAt(cgi.script_name,listlen(cgi.script_name,'/'),'/'),'/' >,'','ALL')#." & "cfc"> > >As an example 'E:/projects/abc.com/www/' is my webroot. > >When I have a cfc file like 'www/cfc/image.cfc', I can >reach this cfc from my 'E:/projects/abc.com/www/test.cfm' page with a syntax >such as > ><cfset application.imageCFC = >createobject("component","#request.cfcroot#.image") /> > > > >But there are problems on Win2003 Servers. > >Do you have anything like that? What would you suggest as alternative? > > >Sincerely, > >Oðuz Demirkapý ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237486 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

