Solved

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

Posted on 2006-11-16
7
198 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

832 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