Using GUI mode
The
Web Server Configuration Tool includes a GUI mode, which you can
use to specify external web server configuration settings through
a graphical interface.
Note: When you use the Web Server
Configuration Tool in GUI mode, select the Configure Web Server
for ColdFusion Applications check box.
Run the Web Server Configuration Tool in GUI mode
Open a console window.
Note: In
Windows, to start the Web Server Configuration Tool, select Start
> Programs > Adobe > ColdFusion 9 > Web Server Configuration Tool.
Change to the cf_root/runtime/bin (server
configuration) or jrun_root/bin (multiserver configuration)
directory.
Start the Web Server Configuration Tool using the wsconfig.exe
(Windows) or wsconfig (UNIX) command.
The Web Server Configuration
Tool window appears.
Click Add.
Select Configure Web Server For ColdFusion Applications.
In the Server drop-down list, select the server or cluster
name that you want to configure. (Individual server names in a cluster
do not appear. Clustering support is only available on the multiserver
configuration.)
Note: The server or cluster does
not have to reside on the web server computer. In this case, enter
the IP address or server name of the remote computer in the JRun Host
field.
In the Web Server Properties area, enter web-server-specific
information, and click OK.
(Optional) Move the CFIDE directory and other directories
(such as cfdocs) from the built-in web server’s web root to your
web server root directory. In addition, you can copy your application’s
CFM pages from the built-in web server’s web root to your web server
root directory.
Note: When a page is requested,
the web server connector first looks for the ColdFusion page in
the cf_root/wwwroot (server configuration) or jrun_root/servers/cfusion/cfusion-ear/cfusion-war (multiserver configuration) directory, and then looks under the web server root. Alternatively, you can use the command-line interface and specify the -cfwebroot option.
(Optional) The web server connector does not serve static
content (such as HTML files and images) from the built-in web server’s
root directory. If your ColdFusion web application has an empty
context root (/) and you want to serve pages from the built-in web
server’s root directory, you can create a web server mapping to
the corresponding directory under the built-in web server.