Avatar of FastEddie___

asked on 

Directory Mapping Problem with Coldfusion 7 on Windows Server 2003 and IIS 6

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.


Microsoft Server OSWindows Server 2003ColdFusion Language

Avatar of undefined
Last Comment
Avatar of pmascari
Flag of United States of America image

Is there a reason for not copying the XP directory structure of your site to the 2003 server?

If your style sheets and such are in directories above your CFM scripts, can you using the "../" notation?

Example: <cfinclude template="../../includes/yourtemplate.cfm">
Avatar of FastEddie___


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.

Avatar of aimehdi

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo