Solved

create virtual directory?

Posted on 2003-11-04
10
344 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
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.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now