Setting Up the Server


If you do not have the pleasure of testing on a ColdFusion machine, don't worry. Macromedia ColdFusion has a fully functional Developer Edition that will allow you to test and run ColdFusion applications and pages before you move them to production.

Also, if you do not have Microsoft Internet Information Services (IIS), don't worry. ColdFusion can be configured to run as a standalone web server. This is a very useful feature that will allow you to test your scripts and ColdFusion applications. Because the ColdFusion's web server is not recommended for production, for the purposes of "real world" experience, we will configure ColdFusion to run with IIS.

Installing IIS

IIS is Microsoft's web server product. It is used on many Windows-based servers. It allows you to set up and configure websites that can be viewed on the World Wide Web.

First, you need to create a directory for your files to reside on. Name the directory unleashedCafe and place it on your C: drive:

  C:\unleashedCafe 

Now that you have your directory created, you can create a virtual directory in IIS. In Windows, IIS is usually found under Administrative Tools, Internet Information Services.

If you cannot find the icon or you do not have it installed, you can install IIS by going to Control Panel, Add or Remove Programs, Add/Remove Windows Components and place a check beside Internet Information Services IIS. Click Next and follow the instructions on the screen.

After IIS is installed, create your website by following these steps:

1.

Open IIS under Administrative Tools, Internet Information Services.

2.

Expand the tree until you see Default Web Site.

3.

Right-click Default Web Site.

4.

Select New, Virtual Directory.

5.

Click Next.

6.

Under Alias, type unleashedCafeSite.

7.

Click Next.

8.

Under Directory, type C:\unleashedCafe.

9.

Click Next.

10.

Under Access Permissions, leave the default settings.

11.

Click Next.

12.

Click Finish.

Figure 23.2. Installing Internet Information Services (IIS).


That's ityou have just set up a website. To test to see if your web server is running, follow these steps:

1.

Open your default browser.

2.

In the URL field, type in http://localhost.

The preceding URL is used as the default web address. An IIS welcome and setup page should be displayed. If you do not see this page, consult your IIS documentation.

Installing ColdFusion MX7

The installation of ColdFusion MX or later is fairly straightforward. After installation has started, follow the instructions in the wizard until installation is complete. During the installation process, you will be prompted to configure a web server for IIS. If you did not configure IIS during the installation process, you can manually configure IIS using the Web Server Configuration tool. To configure ColdFusion for IIS, select Start, Programs, Macromedia, ColdFusion MX7, Web Server Configuration Tool.

After the installation of ColdFusion, your server and Flash Remoting Gateway are ready for action!




Macromedia Flash Professional 8 Unleashed
Macromedia Flash Professional 8 Unleashed
ISBN: 0672327619
EAN: 2147483647
Year: 2005
Pages: 319

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net