Have you tried the
GetFileFromPath() function?
You should be able to feed in the cf_template_path variable and return
index.cfm
Patricia Lee
****************************************************
Cold Fusion Developer & Instructor, ACCD
Fig Leaf Software "We've Got you Covered"
****************************************************
[EMAIL PROTECTED] **** 202.797.5426 ****
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 18, 2000 3:28 PM
> To: Fusebox
> Subject: CF_TEMPLATE_PATH screwing up my URL's
>
>
> I am getting near to the end of my rope trying to figure out
> how to make
> this change. If I wasn't on a deadline (01/01/2001)
> I wouldn't be posting here.
>
> Here is what my home page URL looks like just after login:
> http://DomainName/genesis/index.CFM//Index.cfm?fuseaction=ActionHome
>
> The value of CF_TEMPLATE_PATH currently is:
> "C:\..\..\genesis\index.CFM"
>
> It seems that the CF_TEMPLATE_PATH variable is adding another
> "index.cfm//"
> into the URL string
> thus preventing me from seting up the download section that I
> was working
> on today. I want to change the value of
> CF_TEMPLATE_PATH to be "C:\..\..\genesis\" so that I can get
> the download
> portion of the site working by just tacking onto the end of the URL
> the directories and file names that I need for this portion
> of the site.
>
> I have looked in CF Administrator, Coldfusion Studio help,
> IIS and IIS help
> as well as
> both www.allaire.com and www.microsoft.com for the answers.
> Unfortunately,
> I can not find anything explaining the CF_TEMPLATE_PATH
> variable or how to
> use it.
> I have no idea where, if anywhere this variable is set and
> how to change
> it's
> "current" default to the one I want it to be.
>
> If anyone has any suggestions/ideas regarding this problem,
> please send me
> an
> email off list.
>
> Thanks
>
> Ryan John Williams
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists