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
Solved

create virtual directory?

Posted on 2003-11-04
10
355 Views
Last Modified: 2013-12-24
how do i create a virtual directory in cf mx? i have IIS but just want to use cf mx
0
Comment
Question by:finnstone
10 Comments
 
LVL 17

Expert Comment

by:anandkp
ID: 9684209
there are 2 different things

1. virtual directory for ur web server [IIS / Apache / CF built in web server]
2. virtual mappings in CF

what do u wish to do ???
0
 
LVL 18

Expert Comment

by:Plucka
ID: 9685003
In IIS right click on the web site entry and cilck all tasks, create virtual directory.

In CF use Administrator.
0
 
LVL 4

Accepted Solution

by:
procept earned 500 total points
ID: 9685135
Hi again,

same answer as in http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20788004.html:

You can create a folder "alias" by editing the file [CF_DIR]\wwwroot\WEB-INF\jrun-web.xml:
Add this between the <jrun-web-app> tags:

<virtual-mapping>
    <resource-path>/mymarket</resource-path>
    <system-path>[CF_DIR]/wwwroot/artstore</system-path>
</virtual-mapping>

[CF_DIR] is the directory where CF MX is located. ON Windows, be sure to include drive letter and to use forward slashes!

HTH,

Chris

0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:finnstone
ID: 9692126
my version of cfmx is developer and i think this is the reason other people cannot see it. IS THERE ANYWAY AROUND THIS?
0
 
LVL 4

Expert Comment

by:procept
ID: 9693076
Hi,

are the ppl. getting an error msg? What does it say?

With developer version you can only request pages from the machine where CF is installed. The only legal way around it is to buy a license, because then you get a valid serial number and your server will be "Pro" or "Enterprise"... whatever you buy.

HTH,

Chris



0
 

Author Comment

by:finnstone
ID: 9693987
i had pro but forgot to put in the version number after reinstalling cf..people can see it now!
0
 
LVL 4

Expert Comment

by:procept
ID: 9694312
good. :-))
0
 

Author Comment

by:finnstone
ID: 10211323
prcept this is not working anymore, here is my example

    <virtual-mapping>
    <resource-path>/FRs</resource-path>
    <system-path>C:/CFusionMX/wwwroot/IERROR</system-path>
  </virtual-mapping>

it does not work when i go to

http://localhost:8500/FRs/home.html 

it works when i go to

http://localhost:8500/IERRORs/home.html 
0
 
LVL 4

Expert Comment

by:procept
ID: 10216731
Hi,

in your mapping you forgot the last letter in the system path... IERROR instead of IERRORs. ;-)

HTH,

Chris
0
 

Author Comment

by:finnstone
ID: 10218489
no i mistyped , it works when i go to

http://localhost:8500/IERROR/home.html 
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

789 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