>-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Behalf Of Massimo, Tiziana e Federica >Sent: Tuesday, November 11, 2003 3:23 PM >To: [EMAIL PROTECTED] >Subject: Re: [CFCDev] mapping question > > >> > I could have sworn this was possible... assuming a box with >> > virtual hosts, _must_ you use a mapping if you want to create >> > an instance of a CFC? I'm trying to simply use a path that is >> > under web root (org.camden.etc), but it tells me the cfc cannot >> > be found. >> >> It was my understanding that this would only work if the root mapping >("/") >> was pointed to your web root. In a shared hosting >environment, though, it >> would be unlikely that this root mapping would point to your web root >> directory. >> >I tried a few things for shared hosting, the most practical >solution seems >to store the CFC inside a custom tags folder and use dot notation from >there. > >I firmly believe we need a <cfmodule> equivalent for CFCs
Only relative path calls to a CFC do not exist, correct? I can call any cfc off of the webroot. org.camden.foo would look at cutomtags/org/camden/foo.cfc or webroot/org/camden/foo.cfc Though I guess this does depend on the CF mapping of / cfmodule depends on CF mappings also, but allows a relative path. So, aside from the relative path for cfmodule, the two are similar. Unless I missed the point entirely here. Doug > >---------------------------- >Massimo Foti >Certified Dreamweaver MX Developer >Certified Advanced ColdFusion MX Developer >http://www.massimocorner.com/ >---------------------------- > > > >---------------------------------------------------------- >You are subscribed to cfcdev. To unsubscribe, send an email >to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' >in the message of the email. > >CFCDev is run by CFCZone (www.cfczone.org) and supported >by Mindtool, Corporation (www.mindtool.com). > >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 word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
