If the page you want is in c:/cfusionmx/wwwroot/hendler.cfm, try this instead:

<cfinclude template="hendler.cfm" /> or
<cfinclude template="/hendler.cfm" />


On 12/21/05, Matt Robertson <[EMAIL PROTECTED]> wrote:
> On 12/21/05, Burns, John D <[EMAIL PROTECTED]> wrote:
> > The only question I would have is why you're using CFHTTP to grab the
> > file. If it's on your server, you could do a <cfinclude> and it will
> > drop it right in the page. I hope that helps.
>
> I would love to do that, but tried and it doesn't want to work.  The
> error handler is located at c:/cfusionmx/wwwroot/hendler.cfm, but the
> web site is at c:/mysites/web/subfolder/foo.cfm.
>
> So I write
>
> <cfinclude template="../../mysites/web/subfolder/foo.cfm">
>
> and it breaks the code.  I have no problem traversing up higher than
> the web root for a cfinclude (i.e. along the same branch), but this
> was the first time I tried to traverse up one branch to the drive root
> and back down another.
>
>
> --
> --mattRobertson--
> Janitor, MSB Web Systems
> mysecretbase.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227457
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to