Salvatore, Is there any reason why you can't have the MachII files in a directory called MachII under the webroot?
Failing that can you convince your hosting provider to create a ColdFusion mapping called MachII that points to the core MachII files. Changing the MachII core files so they support a pod/machii is very possibly the cause of the problem, but exactly where the issue might be is anyone's guess. You could always be cheeky and use some of the internals of ColdFusion to add a MachII mapping programmatically, but that would almost certainly break the terms of your hosting agreement ;) Spike -------------------------------------------- Stephen Milligan Code poet for hire http://www.spike.org.uk >-----Original Message----- >From: >[EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] o.uk] On Behalf Of Salvatore Fusto >Sent: Tuesday, May 18, 2004 1:33 AM >To: [EMAIL PROTECTED] >Subject: Re: [ cf-dev ] machii (to Paul Kenney) > >Hello, >i'm beginning to hate MachII!!! >my app, as earlier described, works fine on my pc. >then i decided to try it on a shared enviroment: first i made >a folder structure on the site (www.anfutest.com) like on my >pc, then i asked to the provider to map the root of the site >to Pod when i try my app on line, i see in my brower a blank >page: no content, no exception nothing if i click on >menubar->view->html, a blank page in note pad is displayed >what do you think about? >best regards >salvatore > >----- Original Message ----- >From: "Paul Kenney" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, May 17, 2004 6:07 PM >Subject: Re: [ cf-dev ] machii (to Paul Kenney) > > >> Adding the "Pod." prefix to all your "MachII" references is >the right way >to go if you are in a shared environment. There is really no other >solution, so you did the right thing here. >> >> Paul Kenney >> 916-212-4359 >> [EMAIL PROTECTED] >> >> >> Original Message: >> >From: "Salvatore Fusto" <[EMAIL PROTECTED]> >> >To: <[EMAIL PROTECTED]> >> >Subject: Re: [ cf-dev ] machii (to Paul Kenney) >> >Date: Mon, 17 May 2004 16:55:31 +0200 >> >> >hello Paul, do you remember me and our preceding discussion >on mapping to >> >usr machii in a hosted environment? >> >after a period spent to develop other software, i'm here again. >> >i' have created the following structure: >> > >> >/ >> >/machII >> >/manage_ec (my appl) >> >... >> > >> >then i've created a mapping , on my local cfmx 61. server, /Pod --> >> >c:\cfusionmx\wwwroot and then i have: >> > >> >Pod >> >Pod.MachII >> >Pod.MachII.framework >> >Pod.MachII.framework.listener >> >Pod.MachII.framework.listenerInvoker >> >.... >> >/Pod/manage_ec >> > >> >To make my app working, i've had to update all machii >framework, changing >> >all references to MachII to Pod.MachII: do you think this >is correct or >> >there is another way that let me lo laeve the framework unchanged? >> > >> >excuse me for disturbing you again. >> >best regards >> >salvatore >> >----- Original Message ----- >> >From: "Paul Kenney" <[EMAIL PROTECTED]> >> >To: <[EMAIL PROTECTED]> >> >Sent: Sunday, April 11, 2004 2:35 AM >> >Subject: RE: [ cf-dev ] machii >> > >> > >> >> Create a mapping to that app's root directory. Generally, I use a >common >> >> prefix for all mappings in a particular site. I'll use >the directory >> >> structure below as the basis for my example: >> >> >> >> / >> >> /home >> >> /home/model >> >> /home/model/Listener.cfc >> >> /home/model/User.cfc >> >> /home/model/Util.cfc >> >> /blog >> >> /blog/model >> >> /blog/model/Entry.cfc >> >> /blog/model/Listener.cfc >> >> /ext >> >> /ext/machii >> >> /ext/machii/framework >> >> /ext/machii/framework/Event.cfc >> >> /ext/machii/framework/Filter.cfc >> >> /ext/machii/framework/Listener.cfc >> >> /ext/cfc >> >> /ext/cfc/util >> >> /ext/cfc/util/Bean.cfc >> >> /ext/cfc/util/Validator.cfc >> >> /ext/cfc/util/Settings.cfc >> >> /ext/cfc/data >> >> /ext/cfc/data/DAO.cfc >> >> /ext/cfc/data/UserDAO.cfc >> >> /ext/cfc/data/BlogEntryDAO.cfc >> >> >> >> There are two ways to create the mappings. >> >> >> >> >> >> The first is to create one mapping for the entire site. >In this case, >I'll >> >> use "example_1" as the prefix. >> >> "/example_1" --> "/" >> >> >> >> You would then end up with the following components: >> >> example_1.home.model.Listener >> >> example_1.home.model.User >> >> example_1.home.model.Util >> >> example_1.blog.model.Entry >> >> example_1.blog.model.Listener >> >> example_1.ext.machii.framework.Event >> >> example_1.ext.machii.framework.Filter >> >> example_1.ext.machii.framework.Listener >> >> example_1.ext.cfc.util.Bean >> >> example_1.ext.cfc.util.Validator >> >> example_1.ext.cfc.util.Settings >> >> example_1.ext.cfc.data.DAO >> >> example_1.ext.cfc.data.UserDAO >> >> example_1.ext.cfc.data.BlogEntryDAO >> >> >> >> The upside to this is that all components in your site >are available >> >> anywhere else in the site. The downside is that if your >directories >have >> >a >> >> deep hierarchy, the package names can get rather long. >This is where >the >> >> second method comes into play. >> >> >> >> >> >> >> >> The second way of creating mappings for applications is >to create a >> >separate >> >> mapping for each application. In this case, I'll use >"example_2" as the >> >> prefix. >> >> "/example_2/home" --> "/home" >> >> "/example_2/blog" --> "/blog" >> >> "/example_2/machii" --> "/ext/machii" >> >> "/example_2/util" --> "/ext/cfc/util" >> >> "/example_2/dao --> "/ext/cfc/data" >> >> >> >> You end up with the following components: >> >> example_2.home.model.Listener >> >> example_2.home.model.User >> >> example_2.home.model.Util >> >> example_2.blog.model.Entry >> >> example_2.blog.model.Listener >> >> example_2.machii.framework.Event >> >> example_2.machii.framework.Filter >> >> example_2.machii.framework.Listener >> >> example_2.util.Bean >> >> example_2.util.Validator >> >> example_2.util.Settings >> >> example_2.dao.DAO >> >> example_2.dao.UserDAO >> >> example_2.dao.BlogEntryDAO >> >> >> >> What this gives you is more control over the naming of component >packages >> >> within the site, while still keeping them together under a common >package >> >> prefix. It helps when I have a directory of shared >components that is >> >> several levels below my site root since I can have a >shorter path to >get >> >to >> >> them (less typing). Also, if I decide that I want to place them >someplace >> >> else or rename the directory, all I have to is chage that >one mapping >to >> >> point to the new directory. If I used a single mapping >for the site, I >> >> would have to change all the references in my code to the >old directory >> >name >> >> and change them to the new one. >> >> >> >> Earlier you asked about CrystalTech, and one of the great >things about >> >them >> >> is that I can create all the mappings I want to through their >handy-dandy >> >> site admin application--I don't have call and submit a >request for the >> >site >> >> admins to create the mappings (or change them on a whim). >> >> >> >> >> >> >> >> Paul Kenney >> >> [EMAIL PROTECTED] >> >> 916-212-4359 >> >> >> >> > -----Original Message----- >> >> > From: ing. fusto [mailto:[EMAIL PROTECTED] >> >> > Sent: Thursday, April 08, 2004 1:39 AM >> >> > To: [EMAIL PROTECTED] >> >> > Subject: Re: [ cf-dev ] machii >> >> > >> >> > >> >> > hello Paul, another question. >> >> > >> >> > suppose you have the app folder, in which is a subfolder >> >> > model with various >> >> > listener and compnets: >> >> > >> >> > /app >> >> > /app/model >> >> > /app/model/listener.cfc >> >> > /app/model/comp.cfc >> >> > >> >> > suppose you have an argument or a return of type comp.cfc, >> >> > >> >> > <cfcomponent... >> >> > <cffunction .... returntype ="app.model.comp" >> >> > <cfargument ... type="app.model.comp" >> >> > >> >> > how do you map the app folder and how do you define >argument type and >> >> > returntype? >> >> > hope benn clear, >> >> > best regards >> >> > salvatore >> >> > >> >> > >> >> > >> >> > ----- Original Message ----- >> >> > From: "Paul Kenney" <[EMAIL PROTECTED]> >> >> > To: <[EMAIL PROTECTED]> >> >> > Sent: Wednesday, April 07, 2004 3:59 PM >> >> > Subject: RE: [ cf-dev ] machii >> >> > >> >> > >> >> > > salvatore, >> >> > > >> >> > > To guarantee that my references to the MachII files was >> >> > unique I had to >> >> > > create a mapping to "<somthing>.MachII" and change all the >> >> > type names >> >> > within >> >> > > the MachII files from "MachII." to "<something>.MachII.". >> >> > Any files I >> >> > > created that extend the framework reference the new >unique names. >> >> > > >> >> > > For my hosting I use CrystalTech. They are really >good and pretty >> >> > > inexpensive for what they offer. They run CFMX 6.1 on >> >> > Windows 2003 Server >> >> > > with SQLServer 2000 and MySQL. They give you access >to all sorts >of >> >> > > settings within IIS and let you add whatever mappings >and custom >tag >> >> > > directories you want--its a really cool admin application >> >> > they have. And >> >> > > their phone support is excellent. I highly recommend that >> >> > you check them >> >> > > out. >> >> > > >> >> > > Paul Kenney >> >> > > [EMAIL PROTECTED] >> >> > > 916-212-4359 >> >> > > >> >> > > > -----Original Message----- >> >> > > > From: ing. fusto [mailto:[EMAIL PROTECTED] >> >> > > > Sent: Wednesday, April 07, 2004 12:54 AM >> >> > > > To: [EMAIL PROTECTED] >> >> > > > Subject: Re: [ cf-dev ] machii >> >> > > > >> >> > > > >> >> > > > hello, >> >> > > > i'd know: >> >> > > > 1) have you mapped the framework folder to /machii >folder, or >> >> > > > changed all >> >> > > > references to .machii to path.machii? >> >> > > > 2) who is the provider you use to park your machii sites >> >> > > > >> >> > > > best regards >> >> > > > salvatore >> >> > > > ----- Original Message ----- >> >> > > > From: "Paul Kenney" <[EMAIL PROTECTED]> >> >> > > > To: <[EMAIL PROTECTED]> >> >> > > > Sent: Wednesday, April 07, 2004 9:32 AM >> >> > > > Subject: RE: [ cf-dev ] machii >> >> > > > >> >> > > > >> >> > > > > Yeah, >> >> > > > > >> >> > > > > I'm using MachII on a shared host. What's the question? >> >> > > > > >> >> > > > > Paul Kenney >> >> > > > > [EMAIL PROTECTED] >> >> > > > > 916-212-4359 >> >> > > > > >> >> > > > > > -----Original Message----- >> >> > > > > > From: ing. fusto [mailto:[EMAIL PROTECTED] >> >> > > > > > Sent: Tuesday, April 06, 2004 12:39 AM >> >> > > > > > To: [EMAIL PROTECTED] >> >> > > > > > Subject: [ cf-dev ] machii >> >> > > > > > >> >> > > > > > >> >> > > > > > hello, is someone in this list experienced >about machii on >> >> > > > > > shared hosting >> >> > > > > > environment? >> >> > > > > > best regards >> >> > > > > > salvatore >> >> > > > > > >> >> > > > > > >> >> > > > > > -- >> >> > > > > > These lists are syncronised with the >CFDeveloper forum at >> >> > > > > > http://forum.cfdeveloper.co.uk/ >> >> > > > > > Archive: >> >> > > > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> > > > > > >> >> > > > > > CFDeveloper Sponsors and contributors:- >> >> > > > > > *Hosting and support provided by CFMXhosting.co.uk* :: >> >> > > > > > *ActivePDF provided by activepdf.com* >> >> > > > > > *Forums provided by fusetalk.com* :: *ProWorkFlow >> >> > > > > > provided by proworkflow.com* >> >> > > > > > *Tutorials provided by helmguru.com* >:: *Lists >> >> > > > > > hosted by gradwell.com* >> >> > > > > > >> >> > > > > > To unsubscribe, e-mail: >> >> > [EMAIL PROTECTED] >> >> > > > > > >> >> > > > > >> >> > > > > -- >> >> > > > > These lists are syncronised with the CFDeveloper forum at >> >> > > > http://forum.cfdeveloper.co.uk/ >> >> > > > > Archive: >> >> > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> > > > > >> >> > > > > CFDeveloper Sponsors and contributors:- >> >> > > > > *Hosting and support provided by CFMXhosting.co.uk* :: >> >> > > > *ActivePDF provided >> >> > > > by activepdf.com* >> >> > > > > *Forums provided by fusetalk.com* :: *ProWorkFlow >> >> > provided by >> >> > > > proworkflow.com* >> >> > > > > *Tutorials provided by helmguru.com* :: >> >> > *Lists hosted by >> >> > > > gradwell.com* >> >> > > > > >> >> > > > > To unsubscribe, e-mail: >[EMAIL PROTECTED] >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > > -- >> >> > > > These lists are syncronised with the CFDeveloper forum at >> >> > > > http://forum.cfdeveloper.co.uk/ >> >> > > > Archive: >> >> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> > > >> >> > > CFDeveloper Sponsors and contributors:- >> >> > > *Hosting and support provided by CFMXhosting.co.uk* :: >> >> > > *ActivePDF provided by activepdf.com* >> >> > > *Forums provided by fusetalk.com* :: *ProWorkFlow >> >> > > provided by proworkflow.com* >> >> > > *Tutorials provided by helmguru.com* :: *Lists >> >> > > hosted by gradwell.com* >> >> > > >> >> > > To unsubscribe, e-mail: >[EMAIL PROTECTED] >> >> > > >> >> > >> >> > >> >> > -- >> >> > These lists are syncronised with the CFDeveloper forum at >> >> http://forum.cfdeveloper.co.uk/ >> >> > Archive: >http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> > >> >> > CFDeveloper Sponsors and contributors:- >> >> > *Hosting and support provided by CFMXhosting.co.uk* :: >*ActivePDF >> >provided >> >> by activepdf.com* >> >> > *Forums provided by fusetalk.com* :: *ProWorkFlow >provided by >> >> proworkflow.com* >> >> > *Tutorials provided by helmguru.com* :: >*Lists hosted by >> >> gradwell.com* >> >> > >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> > >> >> > >> >> >> >> >> >> -- >> >> These lists are syncronised with the CFDeveloper forum at >> >> http://forum.cfdeveloper.co.uk/ >> >> Archive: >http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> >> >> CFDeveloper Sponsors and contributors:- >> >> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF >provided >> >> by activepdf.com* >> >> *Forums provided by fusetalk.com* :: *ProWorkFlow >provided by >> >> proworkflow.com* >> >> *Tutorials provided by helmguru.com* :: *Lists >hosted by >> >> gradwell.com* >> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> -- >> >> These lists are syncronised with the CFDeveloper forum at >> >http://forum.cfdeveloper.co.uk/ >> >> Archive: >http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> >> >> CFDeveloper Sponsors and contributors:- >> >> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF >provided >> >by activepdf.com* >> >> *Forums provided by fusetalk.com* :: *ProWorkFlow >provided by >> >proworkflow.com* >> >> *Tutorials provided by helmguru.com* :: *Lists >hosted by >> >gradwell.com* >> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> >-- >> >These lists are syncronised with the CFDeveloper forum at >http://forum.cfdeveloper.co.uk/ >> >Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> > >> >CFDeveloper Sponsors and contributors:- >> >*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF >provided by activepdf.com* >> > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by >proworkflow.com* >> > *Tutorials provided by helmguru.com* :: *Lists hosted by >gradwell.com* >> > >> >To unsubscribe, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> >> >> -- >> These lists are syncronised with the CFDeveloper forum at >http://forum.cfdeveloper.co.uk/ >> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> CFDeveloper Sponsors and contributors:- >> *Hosting and support provided by CFMXhosting.co.uk* :: >*ActivePDF provided >by activepdf.com* >> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by >proworkflow.com* >> *Tutorials provided by helmguru.com* :: *Lists hosted by >gradwell.com* >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> > > >-- >These lists are syncronised with the CFDeveloper forum at >http://forum.cfdeveloper.co.uk/ >Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >CFDeveloper Sponsors and contributors:- >*Hosting and support provided by CFMXhosting.co.uk* :: >*ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow >provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists >hosted by gradwell.com* > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
