You do not need to create the CF mapping /ModelGlue.

As long as others' sites sit on the CF instance where your site is
located, someone could possibly sepcify the mapped path like
/mappingToYourSiteRoot.

On 23/02/06, James Holmes <[EMAIL PROTECTED]> wrote:
> Any mapping means that everything on the box shares my directory for
> that url. E.g.if I create /ModelGlue as a mapping to my site's MG
> folder, everyone else has to use the MG version I pick. The MG code is
> full of direct, hardcoded references to ModelGlue as the base folder
> for the component paths.
>
> On 2/23/06, Terry Sasaki <[EMAIL PROTECTED]> wrote:
> > Can't you have (create) a CF mapping against your site root and modify
> > Application.cfm?
> >
> > On 23/02/06, James Holmes <[EMAIL PROTECTED]> wrote:
> > > No, the code for MG (for example) creates CFCs that are not found in
> > > our virtual-host multi-homed system if the files are just put in a
> > > site's webroot. E.g., line 12 of ModelGlue.cfm:
> > >
> > > <cfset application[ModelGlue_APP_KEY]= createObject("component",
> > > "ModelGlue.Core.XMLModelGlueLoader").init().createModelGlue(ModelGlue_CONFIG_PATH)
> > > />
> > >
> > > causes an error because the component can not be found. I have a
> > > ModelGlue directory straight under my site's webroot.
>
>
> --
> CFAJAX docs and other useful articles:
> http://jr-holmes.coldfusionjournal.com/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233196
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to