We have a mapping set as you suggested, it does not solve the problem as the problem is unrelated to mappings.
I am trying to find the absolute path of the webroot (/) of a template by using #expandpath("/")# as shown in the documentation for expandpath. Not using a server mapping as one might use in a <cfinclude template="/foobar.cfm"> tag. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:00 PM To: CF-Talk Subject: RE: Expandpath() is returning the wrong path. Have you tried setting a mapping in the CF Admin that maps '/' to 'd:/websites/bloodsource'? I bet that'll solve the problem. barneyb > -----Original Message----- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 11:41 AM > To: CF-Talk > Subject: Expandpath() is returning the wrong path. > > > Let's try this in the correct forum. > > I have an expandpath("/") and it is returning the path of the ColdFusion > standalone web server web-root (c:/cfusionmx/wwwroot) rather then the > correct web root of the IIS website (d:/websites/bloodsource). I remember > solving this recently on a different box, but I can't remember which XML > file I tweaked, or the Macromedia Technote that told me what to do. > > Anybody know what I am talking about and can you fill in the holes in my > memory. > > Thanks. > > -------------- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137572 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com