Solved

Mappings:Development and Server relationship to IIS virtual directories

Posted on 2002-04-20
3
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

737 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