This is not a bug. When we say a CFC can be relative to /, this means
the full address can begin there. That probably didn't make sense. Let
me rephrase. If I pass a path of foo.goo.moo, it's going to try
webroot/foo/goo/moo.cfc, MAPPINGS/foo/goo/moo.cfc, and
CUSTOMTAGROOT/foo/goo/moo.cfc, ALONG WITH a relative check from the
current directory. So, for example, if I am in folder /foo/goo, I can
invoke a CFC called moo.cfc by just saying "moo" - that is because moo
is in the same folder. If there were a subfolder called zoo, I could do
either foo.goo.zoo.theCFC or zoo.theCFC.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, August 12, 2002 8:37 AM
> To: CF-Talk
> Subject: RE: Relative CFCs, why is it working?
> 
> 
> Nothing to do with default mapping for /, if you look in this 
> example, I'm 
> actually 1 directory away from '/' and I'm calling a CFC 
> relative to that 
> directory (not from root).
> 
> I could be wrong, but ... this isn't making any sense to me.
> 
> ~Todd
> 
> 
> On Mon, 12 Aug 2002, Robertson-Ravo, Neil (REC) wrote:
> 
> > anything to do with the fact that by defaul a mapping exists for
> > c:\cfusionmx\wwwroot ?
> > 
> > Neil
> > 
> > just grabbing here.. but I would be interested to know.
> > 
> 
> --
> ============================================================
> Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
>         Team Macromedia Volunteer for ColdFusion           |
> http://www.macromedia.com/support/forums/team_macromedia/  |
> http://www.flashCFM.com/   - webRat (Moderator)            |
> http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
> ============================================================
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to