• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Mappings:Development and Server relationship to IIS virtual directories

**** 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
mrcatmull
Asked:
mrcatmull
  • 2
1 Solution
 
YogCommented:
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
 
mrcatmullAuthor Commented:
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
 
YogCommented:
you are welcome..:)

cheers.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now