MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 67

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Restart Apache to ensure that the virtual hosts are defined correctly. You store CFM files for
3
each virtual host in the directory specified by the DocumentRoot directive.
Test each virtual host to ensure that HTML pages are served correctly.
4
Run the Web Server Configuration Tool, as follows:
5
GUI
Specify Apache for the Web Server, specify the directory containing the httpd.conf
file, and select the Configure web server for ColdFusion MX applications option.
Command line
shown in the following example:
/bin/java -jar wsconfig.jar
"c:\program files\apache group\apache2\conf" -map
.cfm,.cfc,.cfml,.jsp,.jws -coldfusion -v
For additional Unix command-line examples, see
on page
60.
The JavaScript validation used by the
6
However in a multi-homed environment, each virtual website may not contain this directory
and file. Either copy this file and store it in your virtual website's web root in a CFIDE/scripts
directory or modify all
cfform.js file.
Ensure that Cache Web Server Paths is disabled in the Caching page of the ColdFusion MX
7
Administrator (in the J2EE configuration on JRun, set the
the ProxyService in the jrun.xml file).
Test each virtual host to ensure that CFM pages are served correctly.
8
Sun ONE Web Server (iPlanet)
When using Sun ONE Web Server version 6, you use the Server Administrator to create virtual
servers and run the Web Server Configuration Tool. You store CFM pages under the web root of
each virtual website.
Note: For earlier versions of iPlanet and Netscape Enterprise Server (NES), you must create
separate server instances for each site and run the Web Server Configuration Tool once for each site.
To connect multiple virtual hosts on a web server to a single ColdFusion server:
Using the Sun ONE Web Server Administrator, create virtual web servers for use by
1
ColdFusion MX. For more information, see your Sun ONE Web Server documentation.
Configure DNS for each virtual website, as described in your web server documentation.
2
Test each virtual server to ensure that HTML pages are served correctly.
3
Run the Web Server Configuration Tool, as follows:
4
GUI
Specify Netscape Enterprise Server/iPlanet for the Web Server, specify the directory
containing the obj.conf and magnus.conf files, and select the Configure web server for
ColdFusion MX applications option.
Command line
shown in the following example:
/opt/coldfusionmx/runtime/jre/bin/java -jar /opt/coldfusionmx/runtime/lib/
wsconfig.jar -ws iplanet -dir [path to config] -map
.cfm,.cfc,.cfml,.jsp,.jws -coldfusion -v
Specify
and the directory containing the httpd.conf file, as
-ws apache
cfform
tags to use the
cfform
Specify
and the directory containing the obj.conf file, as
-ws iplanet
-ws apache -dir
"Using the command-line interface"
tag references the CFIDE/scripts/cfform.js file.
attribute to specify the location of the
scriptsrc
cacheRealPath
Advanced configurations
attribute to false for
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents