> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Murat Demirci > Sent: Wednesday, October 05, 2005 3:37 AM > To: [email protected] > Subject: RE: [CFCDev] Per Application mappings WAS: Java CFCProxy info? > > CF7 supports / mapping per application by default. Do not define / mapping > in CFAdmin.
That's not really the same thing... remember that application.cfc and application.cfm are not actually linked to the application definition (CFAPPLICATION)... you can easily have multiple applications defined in the same folder. Also the mappings aren't specific to a folder (if they were you could phony-up application-specific mappings somewhat). Consider an example: I've got an application. It uses version 2.0 of a popular Blog application which requires the mapping "/superBlog/". I can do this. Now, later, I want to consolidate some applications and add a legacy application this server. It uses version 1.0 of the same Blog (different code) but still requires the "/superBlog/" mapping. What I would like to do is configure both mappings at the application-level - the first app would point to the 2.0 files and the second would point to the 1.0 files - but both would use the same mapping name. There's no way for me to do this (at least on the on the same instance) in CF. The same problem occurs when several people on the same shared server want to use the same application (forums, blogs, shopping carts, etc) that require mappings (for CFC validation or package security or whatever). The <cfmapping> tag Vince suggested could do it (since his makes the mappings request-specific). You'd just have the <cfmappings> tag run for every request. Of course until MM and NA get together on something it doesn't really help the tools author since they would want their code to run on both. Jim Davis ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
