ColdFusionJournal.comCFDJ SEPTEMBER 2003
28
T
he world of ColdFusion application servers is quite
interesting at the moment. Macromedia’s recent
update to CFMX 6.1 promises to add a lot of stability
and speed to the product. BlueDragon, New Atlanta’s alternate
CFML runtime engine continues to gain momentum. Yet
despite these two great products, much of the develop-
ment out there is still based on ColdFusion 5 (or earlier).
What if you’re interested in running one or more of
these at once? Perhaps you’re going to upgrade an
app from one server to another? How do you test your
current applications for compatibility among the
other servers without reconfiguring your develop-
ment machine? If you’re a consultant, or work for a
consulting firm, there’s a good chance you’ll have
multiple clients, each with different server require-
ments. How do you handle the changing require-
ments without reconfiguring your server every time?
The good news is that you can install all three prod-
ucts at once to test them, but they each support slightly
different versions of CFML. How do you set things up so
that you can test a set of CFML templates against each
server, while keeping the CFML code in one place?
This article answers those questions by showing you how to
run all the application servers off of a single instance of Microsoft
IIS 5 on Windows 2000, and will make it easy to test for cross-com-
patibility in your code. Normally, if you set up a ColdFusion (or
BlueDragon) server to use IIS, it will replace any prior IIS settings
for running CFML templates. We’ll show you how to resolve that.
Even if you use Apache, iPlanet, IIS on a Windows Server
edition, or some other external Web server, the concepts here
will generally apply (though they may be even
more flexible). If you already have CF5, CFMX, or
BlueDragon installed, just follow along to learn a
couple of interesting points to enable setup of IIS
to run all three servers at once, pointing to the
same directory of CFML code. It’s a great way to do
testing against all three servers.
Installing/Configuring ColdFusion 5
The first step is to install and configure ColdFusion
5 on your machine. If you already have it installed
and configured to use IIS, you can skip to the next
paragraph. ColdFusion 5 can currently be down-
loaded from the Macromedia Web site, at
http://do
wnload.macromedia.com/pub/coldfu
sion/esd/coldfusion-50-win-us_devrel.exe. It can also
be found on your ColdFusion Studio 5 CD or included
in Ben Forta’s CF5 Web Application Construction Kit
book and others. Install it to the default directory,
C:\Cfusion. During the install process you should let
the installer set itself up for IIS.
app servers
Browse code in your webroot and serve it via all three app
servers just by changing the virtual directory in your URL
By Charlie Arehart
By Jeffry Houser
Setting Up Your
Development
Server
with ColdFusion 5,
MX, and BlueDragon
Setting Up Your
Development
Server
with ColdFusion 5,
MX, and BlueDragon
Kommentare zu diesen Handbüchern