Solved

Can I change the root folder after I have installed ColdFusion Developer version?

Posted on 2006-11-16
7
197 Views
Last Modified: 2013-12-24
I have a box with CF Developer installed that is using the default CF application server instead of IIS.  I want to mimic my production box which has a different root folder than the dev box.  For example, to browse to a page on my dev box I would use http:/localhost:8500/myfolder/site but in production i would use http://www.url.com/site.  I would like to make the myfolder to be the root folder so my relative mappings will work without having to have a different version of code for development and production.  Thanks for any advice!

0
Comment
Question by:Ike23
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 17961270
Ike23,

First, don't use the built in CF webserver, use IIS instead.

Second then you can setup anything locally you like, like

http://test.url.com/site

Regards
Plucka
0
 
LVL 4

Author Comment

by:Ike23
ID: 17961520
It is already set up to use the CF webserver and it is working fine.  So there isn't a quick way to just tell CF that the root folder is C:/myfolder instead of C:/wwwroot?

If not do I still need to re-install CF to use IIS?  If not, how would I tell CF that I now want to use IIS instead of the default webserver?  Just use localhost instead of localhost:8500 probably right?  Thanks for any help.  The quicker the solution the better for me so if there is just a way to point CF to my new root folder that would be optimal.
0
 
LVL 18

Expert Comment

by:Plucka
ID: 17961818
Ike23,

You can't change it, install IIS, reinstall CF then you can do sites & virtual directories within IIS and leave CF alone.

Regards
Plucka
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 4

Author Comment

by:Ike23
ID: 17961850
I have IIS installed already.  Do I really need to reinstall CF or can I just use localhost instead of localhost:8500?
0
 
LVL 18

Expert Comment

by:Plucka
ID: 17961855
you need to reinstall CF or run the Web Server Config tool, under CF start menu.
0
 
LVL 4

Author Comment

by:Ike23
ID: 17961882
I really can't justify reinstalling CF because of all the datasources and mappings etc.  So is there a way without reinstalling? Web Server Config tool you say?  I don't see anything like that in the CF Admin.  Is it a service?  I don't see CF when I go to Start>>Programs>> so can i open it through the command line?  Thanks!
0
 
LVL 18

Accepted Solution

by:
Plucka earned 500 total points
ID: 17961892
Start, All Programs, Macromedia, Coldfusion MX 7, Web Server Configuration Tool
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

947 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

18 Experts available now in Live!

Get 1:1 Help Now