I currently have 2 servers. Server 1 runs Win 2003 with CF9 and IIS. Server 2 runs Win 2008 R2 64bit with CF10 and Apache 2.2 with virtual hosts.
For years, on Server 1 when it ran CF7, CF8, and now CF9, if I were to run 'expandPath' this is the behavior I would see:
expandPath("/") - web site root directory (D:\sites\mysite\htdocs\)
expandPath("/myDir/") - directory under web site root (D:\sites\mysite\htdocs\myDir\)
expandPath("/../storage/") - directory above web site root (D:\sites\mysite\storage\)
But, now on my Server 2, the behavior has changed to:
expandPath("/") - web site root directory (D:\sites\mysite\htdocs\)
expandPath("/myDir/") - directory under web site root (D:\sites\mysite\htdocs\myDir\)
expandPath("/../storage/") - directory above web site root (C:\ColdFusion10\cffusion2\bin\)
I can't figure out if this is an issue in my configuration/setup or if this is a CF10 bug. Any help would be greatly appreciated.
Thanks,
Daniel
-=UPDATE=-
I have been able to confirm that this works without issue under Server 2008 R2, IIS7 and CF10. I'm guessing I have a configuration off somewhere, but I have no idea where to look.