MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Technical Information Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
62
CONFIGURING AND ADMINISTERING COLDFUSION 9
Web Server Management
Last updated 2/21/2012
4 Click Add.
5 Select Configure Web Server For ColdFusion Applications.
6 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.
7 In the Web Server Properties area, enter web-server-specific information, and click OK.
8 (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.
9 (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.
Using the command-line interface
You can also run the Web Server Configuration Tool through a command-line interface.
Run the command-line interface
1 Open a console window.
2 Change to the cf_root/runtime/bin (server configuration) or jrun_root/bin (multiserver configuration) directory.
3 Execute the wsconfig.exe (Windows) or wsconfig (UNIX) command:
wsconfig.exe [-options]
./wsconfig [-options]
The following table describes the options:
Option Description
-ws Specifies the web server, as follows:
IIS
Apache
SunOne
iPlanet
NES
The web server name you supply is not case sensitive.
-dir Specifies the path to the configuration directory (Apache conf or NES/iPlanet config).
-site Specifies the IIS website name (case-sensitive). Specify All or 0 to configure the connector at a
global level, which applies to all IIS websites.
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 173 174

Comments to this Manuals

No comments