Solved

Mappings:Development and Server relationship to IIS virtual directories

Posted on 2002-04-20
3
245 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
ID: 6957490
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
ID: 6961707
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
ID: 6961854
you are welcome..:)

cheers.
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
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…

685 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