Solved

Mappings:Development and Server relationship to IIS virtual directories

Posted on 2002-04-20
3
236 Views
Last Modified: 2013-12-24
**** NEWBIE ALERT ****

I am somewhat confused as to the relationship between a Development Mapping --> ColdFusion Mapping (Administrator) --> IIS Virtual Directory.

The confusion stems from the fact that I created a Development Mapping in CF Studio 5.  
    Studio Path:    E:\ColdFusion\Templates\PCFBook\Ch2
    CF Server Path: E:\ColdFusion\Templates\PCFBook\Ch2
    Browser Path:   http://127.0.0.1/PCFBOOK/ch2

I then created a CF Server Mapping:
    Logical Path: /PCBOOK/
    Directory Path: E:\ColdFusion\Templates\PCFBook\Ch2

I could not get this to work (i.e., 404 error).  I then added a virtual directory on IIS and it worked.  In trying to understand, I removed the CF Server Mapping, and it still worked.  This is where the confusion comes in.

So the question is "What is the relationship between the the various mappings and the IIS Virtural Directory?"

Thanks.
0
Comment
Question by:mrcatmull
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Yog earned 50 total points
Comment Utility
you set up a virtual in IIS, and in order to refer to it properly using a CF tag, you would need to set up a CF virtual to use it in <cfinclude . Or, you can use absolute paths in your cfincludes, absolute is not prefered
0
 

Author Comment

by:mrcatmull
Comment Utility
Thank you so much.  I was not sure what CFINCLUDE was, but a quick look into my book and everything was crystal clear.

Thanks again.
0
 
LVL 5

Expert Comment

by:Yog
Comment Utility
you are welcome..:)

cheers.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now