Solved

create virtual directory?

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

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
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.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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.

863 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

21 Experts available now in Live!

Get 1:1 Help Now