Have you tried on BlueDragon (I ask because I know you've used--or are
using--BD)? BD does recognize and use IIS virtual directories, so I believe
both CFMODULE (with the TEMPLATE attribute) and CFINCLUDE will use IIS
virtual directories to resolve paths.

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Schreck, Thomas (PPC)
> Sent: Tuesday, September 14, 2004 1:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] CFC invokation
> 
> I totally agree CFCs should be outside webroot.  If 
> invocation of a CFC can be accomplished with an IIS virtual 
> directory, then the next logical step is to be able to use an 
> IIS mapping with <cfmodule> or <cfinclude>.
> 
> 
> Thanks -
>  
> Tom Schreck
> 817-252-4900
> [EMAIL PROTECTED]
>  
> I have not failed.  I've found 10,000 ways that won't work.
>  
> - Thomas Edison
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Barney Boisvert
> Sent: Tuesday, September 14, 2004 12:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] CFC invokation
> 
> Honestly, I've got no idea about how it works.
> 
> CF mappings are useful because they don't put the mapped 
> content in the web root, so it remains inaccessible via the 
> web server, which is generally what you want.  Unless your 
> file system structure is limited by your hosting provider, 
> I'd recommend never putting CFCs (aside from web 
> service/flash remoting ones) in the web root.  Put them in 
> another directory and map it.
> 
> Even if you can't put them outside the web root, I'd 
> recommend a mapping so that if you ever do get to move them, 
> you can change the mapping and not have to worry about your 
> code.  Every hosting company ought to give you a mapping per 
> site, though that's probably not the case.  If they do, have 
> them map your domain backwards to your CFC directory and 
> you'll be set.
> 
> cheers,
> barneyb
> 
> 
> On Tue, 14 Sep 2004 12:26:05 -0500, Schreck, Thomas (PPC) 
> <[EMAIL PROTECTED]> wrote:
> > How does ColdFusion connect to IIS to figure out where the CFC is 
> > located so the invocation will work?  If it can do that 
> then why do we 
> > need CF mappings?  I was under the impression we need CF Mappings 
> > because CF cannot access IIS virtual directories.
> > 
> > Thanks -
> > 
> > Tom Schreck
> 
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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]

Reply via email to