Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best Practices for ColdFusion Installation and IIS - Where to Code?

Status
Not open for further replies.

mickeyj2

Programmer
Jun 7, 2007
79
US
Hi,

I am a web developer who’s been using ColdFusion and IIS6 for a while.

When I first began developing, I would always install IIS first, then my ColdFusion software. During setup and installation, I was trained to always look for the standard C:\inetpub\ directory, and develop from there. I was also trained to setup my websites in IIS and basically point them to this same directory. I’ve created many sites using this method.

I’m back at it again. This time I’m trying to setup my desktop with the following:
- IIS 6
- ColdFusion Developer Edition

Everything installed correctly. I assigned the Default Web Site in IIS to point to my machine’s IP address and the Home Directory is C:\Inetpub\ Here’s what I see and get now:

IIS:
- My C:\inetpub\wwroot files are listed here, which is correct.
- The \CFIDE directory is listed under my Default Web Site as a Virtual Directory Web Site.

Browser/CF:

Suppose I have a file called “default.cfm” under the Default Web Site (located on C:\Inetpub\wwroot\default.cfm) and I have another file called “index.cfm” under my Virtual Directory site located under C:\CFusionMX7\
I am able to resolve both of the following pages:

and
I guess my main question is what are the current Best Practices for developing in CF? Am I now supposed to put all of my files and subfolders under C:\CFusionMX7\ instead of the standard C:\inetpub\ as I’ve always learned it should be?

Thanks in advance.

mickeyj2
 
to ME, i would never put my web files in the application server folder! in cf folder is all the built in I though. cfide, etc.. I would not put web junk in there.

In fact, I always put them on a separate partition or drive, along with all other web accessible stuff

inetpub is ok too

Kevin
 
Thanks for all of your comments. That's what I thought. I guess what was screwing me up was the fact that I can access the CFIDE....directory via the browser.

I might need to re-examine my IIS setup to make sure I have a completely separate directory referenced.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top