Solved

create virtual directory?

Posted on 2003-11-04
10
364 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
use of cookies and regulations 1 102
How to stress test an ASP.NET https website 3 86
http to https 3 75
.php tree directory? 5 89
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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

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