Your mapping must be pointing to the wrong place on the live server then,
have you actually checked it ?


On Sat, Apr 2, 2011 at 8:43 PM, Victor Moore <victor.mo...@gmail.com> wrote:

>
> Hi Matt,
>
> but if I have my mappings set to:
> /myApp  D:\domain\myApp
>
> shouldn't the absolute path work?
> I would like to have the app working regarding how is being deployed
> and while I can have relative paths, the issue is a little complicated
> by the the fact that the app has modules that can have submodules and
> then the relative path should be set up accordingly.
> It can be done but it's more work then absolute path...
>
> Thanks
> Victor
>
>
> On Sat, Apr 2, 2011 at 1:51 PM, Matt Quackenbush <quackfu...@gmail.com>
> wrote:
> >
> > If your local dev server is config'd to be http://myapp/, but your live
> > server is config'd to be http://www.domain.com/myapp/ and you are using
> > root-absolute paths (e.g. "/utils/foo.cfm"), then it expected behavior to
> > break.  The "/" tells CF (or the browser, in the case of static content)
> to
> > search _from the web root_ to find the file.  In your example, on your
> live
> > server the web root is at http://www.domain.com/.  Yet your application
> > lives at /myApp/.
> >
> > So, to solve the problem, either change your live server so that the web
> > root is the /myApp folder, or change your <cfinclude /> to use relative
> > paths instead of root-absolute ones.  In other words, if you choose the
> > latter, simply ditch the leading slash (/).
> >
> > HTH
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to