FastEddie___
asked on
Directory Mapping Problem with Coldfusion 7 on Windows Server 2003 and IIS 6
Hello,
I currently have a coldfusion 7 web app on a Windows XP Pro box and it is working just fine using the built in CF web server. This is my development box. We recently purchased a Windows Server 2003 box with IIS 6 and I would like to copy my application to that box.
Since the app will be used internally I did not create a new website with IIS. I just created a Virtual Directory. The problem I'm having is that the Coldfusion directory mapping isn't working properly. It's a problem with the leading forward slash "/" used by coldfusion to indicate the root directory. I don't belive IIS 6 is recognizing that as the web root. I can serve up .cfm pages just fine but since my style sheets and cf includes use the leading forward slash "/". The stye sheets and includes are not working.
Has anybody come accoss this before? I have done some research on installing CF 7 on IIS 6 but this particular issue has NEVER been addressed. I think it migh be in how I'm setting things up but I'm not sure.
Any help would be greatly appreciated.
-Eddie
I currently have a coldfusion 7 web app on a Windows XP Pro box and it is working just fine using the built in CF web server. This is my development box. We recently purchased a Windows Server 2003 box with IIS 6 and I would like to copy my application to that box.
Since the app will be used internally I did not create a new website with IIS. I just created a Virtual Directory. The problem I'm having is that the Coldfusion directory mapping isn't working properly. It's a problem with the leading forward slash "/" used by coldfusion to indicate the root directory. I don't belive IIS 6 is recognizing that as the web root. I can serve up .cfm pages just fine but since my style sheets and cf includes use the leading forward slash "/". The stye sheets and includes are not working.
Has anybody come accoss this before? I have done some research on installing CF 7 on IIS 6 but this particular issue has NEVER been addressed. I think it migh be in how I'm setting things up but I'm not sure.
Any help would be greatly appreciated.
-Eddie
ASKER
The directory structure from the XP box has been copied over to the 2003 box.
There is no problem traversing up the dir with ../ however, there is a problem with /abc/def.
-Eddie
There is no problem traversing up the dir with ../ however, there is a problem with /abc/def.
-Eddie
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If your style sheets and such are in directories above your CFM scripts, can you using the "../" notation?
Example: <cfinclude template="../../includes/y