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:343495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to