Solved

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

Posted on 2006-11-16
7
195 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
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 purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

760 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

19 Experts available now in Live!

Get 1:1 Help Now