Re: Expandpath() is returning the wrong path.

2003-09-19 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 12:23 US/Pacific, Ian Skinner wrote: Is not #expandpath(/)# supposed to return the absolute directory of the webroot that the template is in? It will return the ColdFusion document root, not the IIS document root. For many people, those are the same but for many

Re: Expandpath() is returning the wrong path.

2003-09-18 Thread Sean A Corfield
On Thursday, Sep 18, 2003, at 11:40 US/Pacific, Ian Skinner wrote: 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). But expandPath() only

RE: Expandpath() is returning the wrong path.

2003-09-18 Thread Barney Boisvert
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

RE: Expandpath() is returning the wrong path.

2003-09-18 Thread Ian Skinner
() 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

RE: Expandpath() is returning the wrong path.

2003-09-18 Thread Ian Skinner
: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 11:59 AM To: CF-Talk Subject: Re: Expandpath() is returning the wrong path. On Thursday, Sep 18, 2003, at 11:40 US/Pacific, Ian Skinner wrote: I have an expandpath(/) and it is returning the path of the ColdFusion

RE: Expandpath() is returning the wrong path (SOLVED)

2003-09-18 Thread Ian Skinner
I found the XML file that I was looking for. Now, it would be nice to know what I was really doing here. By adding a second virtual-mapping to the enclosed file, the expandpath() function is now correctly returning D:\inetpub\websites\bloodsource instead of C:\cfusionMX\. But what is it that I