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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Personal WS question 1

Status
Not open for further replies.

logius

Programmer
Joined
Aug 30, 2001
Messages
175
Location
US
Hi, don't get upset if this is a dumb question, I've only been working with CF (ver 3.1) for an hour now. But, is it necessary to be running a Personal Web Server in order to view your CF document (because I'm not)? I'm just starting to create them, but every time I try and load it into an external browser, it doesn't load anything, but instead opens up (as code) in the CF editor. When I try to use the "View in First External Browser" option, the page doesn't load at all. Any help on what I'm going to have to do here? ----------------------------------------
If you are reading this, then you have read too far...

lightwarrior@hotmail.com
 
Yes, a web server is necessary. You may have CF 3.1 installed, but Cold Fusion (application server) hands off the cf templates (after parsing them) to a web server so that the web server can "serve" you the HTML document that you are looking for in your browser. Without a web server, there can be no HTML document.

In fact, I'm surprised you were able to correclty install CF without a web server running first. You should have been prompted for which web server you were running and for the location of the web's root documents directory. And you certainly couldn't have done the "test installation" exercise without a web server. Yup, you'll want PWS or Apache or something. John Hoarty
jhoarty@quickestore.com
 
Will I have to uninstall CF Studio before I can set up the server, or can I leave it as it is and set up the server anyway? ----------------------------------------
If you are reading this, then you have read too far...

lightwarrior@hotmail.com
 
Aha! Now I get it. No, you won't have to uninstall Studio, but if you want to see the output of your CF templates (files) that you are writing, you will have to install Cold Fusion Application Server. That's what you are missing.

CF Application server is the piece that parses your CF templates and passes them over to PWS (or whatever web server you are using) to output as HTML. Studio is just a glorified (and quite excellent) scripting environment and collection of tools for authoring. John Hoarty
jhoarty@quickestore.com
 
Thanks, John, as it turns out, though, there was an existing CF server that I was supposed to hook up to. It took a little looking into, but I finally found it. I tossed a star your way. ----------------------------------------
If you are reading this, then you have read too far...

lightwarrior@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top