> > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02677.html > > I'm not sure about this one - I was told specifically by one the CF > Engineers that this is not the case. > > It's not the CF root (the mapped slash) that's searched, it's the _WEB_ > Root - and since every virtual server has a web root it can (or at least > should) find them that way. > > >From the perspective of CFCs the mapped slash ("root") is just another > mapping. The web root is searched AFTER the server mappings (but > before Custom Tag mappings for some reason). So, considering our > hosting problem it SHOULD work such that if a host NEVER maps "com" then > anybody with a virtual server could use "com.mydomain.cfc".
It never worked for me this way on IIS and virtual servers, both in CF 6.0 or 6.1. > The (perhaps assumed or pre-6.1 after these tests) problem was always > that if TWO people had the same directory structure/cfc name (as could > be the case with distributed/marketed applications) only one instance > would be found and that path cached. The wrong CFC would then be called > in the second instance. I saw this happening (see my horror story) on a CF 6.1 box. > Ben's tests seem to indicate that this is either no longer the case, or > that the behavior is more complex than we thought. I have a hope that > it's been fixed in 6.1, but I have a fear it's just more complex. I share your feelings... > I truly think that CFC adoption would GREATLY benefit a qualified set of > recommendations to hosts. Although many people are on dedicated boxes > many, many more are on shared servers and many others are shunning CFCs > because they're building apps for possible/eventual resale/distribution. Amen! > A solid recommendation from Macromedia (or, lacking that, a solid > accepted community recommendation) on the matter would be greatly > appreciated. I get the feeling that hosts like CrystalTech are truly > trying to give their customers as much control as possible, but are just > totally confused by the issue. Time ago I investigated to see if MM has a set of recommendations for hosting companies, and I was surprised to not being able to find one. CrystalTech is among the best out there, but I don't pretend they become CF experts, a good set of recommendations would definitely help. For example, I see hosts pretty much confused by SandBox security, or disabling <cfdirectory> while they keep having FSO COM enabled or not enforcing SandBox Security leaving me navigate the whole hard drive calling Java I/O APIs... Another time the hosting company had SandBox defined in a way that prevented me to upload files, since I was denied access to the temp directory CF use during upload... The host tech people managed to fix it, but it took ahalf a dozen emails in order to explain them what was happening ---------------------------- 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]
