Solved

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

Posted on 2006-11-16
7
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

691 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