Solved

Mappings:Development and Server relationship to IIS virtual directories

Posted on 2002-04-20
3
243 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

790 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