This section describes how to configure a web server to serve ColdFusion pages, for Windows and UNIX. Do this if you did not configure a web server automatically during installation, or to change your web server.
Note: If you cannot verify your configuration, repeat the procedure. If the problem persists, contact Macromedia Technical Support for assistance, or manually create the element that you cannot verify in the configuration (for example, manually add an entry to the Apache web server properties file, as documented in this section).
This section explains how to configure the following web servers in Windows:
This section describes how to configure Internet Information Server (IIS) for ColdFusion MX in Windows, and how to verify your configuration.
Note: The Macromedia ColdFusion MX team has tested integration with the .Net Framework version 1 and Service Pack 1.
cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib -jar cf_root\runtime\lib\wsconfig.jar -ws IIS -site "0" -map .cfm,.cfc,.cfml,.jsp -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws IIS -site "0" -map .cfm,.cfc,.cfml,.jsp -v
This adds the appropriate IIS application mappings for ColdFusion MX.
If necessary, ColdFusion MX generates the following log file for errors: cf_root\runtime\lib\wsconfig\wsconfig.log.
The following figure shows a sample JRunScripts virtual directory:
cf_root/runtime/lib/wsconfig/1/
The following figure shows a sample Properties dialog box for the JRunScripts virtual directory:
This section describes how to configure Netscape Enterprise web server 3.6x or iPlanet web server (4.x or 6.x) for ColdFusion MX in Windows, and how to verify your configuration.
cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib -jar cf_root\runtime\lib\wsconfig.jar -ws <Iplanet or NES> -dir <Netscape/iPlanet config directory> -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws NES -dir c:\netscape\server4\https-yourserver\config -v
NameTrans fn="jrunfilter"
NameTrans line in the file:#JRun NameTrans fn="pfx2dir" from="/servlet" dir="e:/netscape/servers/docs/servlet"
<Object name="jrun"> PathCheck fn="jrunfilter" Service fn="jrunservice" </Object>
This section describes how to configure the Apache web server for ColdFusion MX in Windows, and how to verify your configuration.
cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib -jar cf_root\runtime\lib\wsconfig.jar -ws Apache -dir <Apache conf directory> -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws Apache -dir c:\Program Files\Apache Group\Apache\conf -v
Verify that the following code is appended to this file:
# JRun Settings
LoadModule jrun_module "c:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun.so"
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Serverstore "c:/CFusionMX/runtime/lib/wsconfig/1/
jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
#JRunConfig Errorurl <URL for errors>
</IfModule>
This section explains how to configure the following web servers on UNIX:
This section describes how to configure the Apache web server for ColdFusion MX on UNIX, and how to verify your configuration.
cf_root/jre/bin/java -jar cf_root/runtime/lib/wsconfig.jar -ws Apache -dir <apache config directory> -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
/opt/coldfusionmx/jre/bin/java -jar /opt/coldfusionmx/runtime/lib/wsconfig.jar -ws Apache -dir /etc/httpd/conf -v
Note: For unique configurations, add the -bin and -script parameters.
Verify that the following code is appended to this file:
# JRun Settings
LoadModule jrun_module "/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so"
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Serverstore "/opt/coldfusionmx/runtime/lib/wsconfig/1/
jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
#JRunConfig Errorurl <URL for errors>
</IfModule>
This section describes how to configure Netscape Enterprise web server 3.6x or iPlanet web server (4.x or 6.x) for ColdFusion MX on UNIX, and how to verify your configuration.
cf_root/jre/bin/java -jar cf_root/runtime/lib/wsconfig.jar -ws <Iplanet or NES> -dir <Netscape/iPlanet config directory> -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
/opt/coldfusionmx/jre/bin/java -jar /opt/coldfusionmx/runtime/lib/wsconfig.jar -ws NES -dir /usr/netscape/server4/https-surf/config -v
NameTrans fn="jrunfilter"
NameTrans line in the file:#JRun NameTrans fn="pfx2dir" from="/servlet" dir="e:/netscape/servers/docs/servlet"
<Object name="jrun"> PathCheck fn="jrunfilter" Service fn="jrunservice" </Object>
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/Installing_ColdFusion_MX/configuring4.htm
Comments
dbanttari said on May 24, 2002 at 6:21 PM : ghank said on May 1, 2002 at 4:49 PM : Grover77777 said on May 10, 2002 at 3:46 AM : spacity69 said on Jul 31, 2002 at 9:00 PM : xyphoid said on Jul 31, 2002 at 9:02 PM : fusewerx said on Jun 15, 2002 at 11:53 AM : sgilson102 said on Jun 17, 2002 at 1:35 PM : CFnewbie said on Jul 1, 2002 at 8:31 PM : MXPower said on Jun 27, 2002 at 8:54 PM : CFnewbie said on Jul 1, 2002 at 8:34 PM : ajm63 said on Jun 28, 2002 at 1:08 PM : sgilson102 said on Jul 1, 2002 at 7:56 PM : sgilson102 said on Jul 1, 2002 at 8:02 PM : ianwinter said on Jul 22, 2002 at 4:23 PM : kjabbour@macromedia. said on Aug 2, 2002 at 3:32 PM : ajm63 said on Sep 16, 2002 at 5:20 PM : rnielsen said on Oct 21, 2002 at 6:38 PM : montelen said on Oct 20, 2002 at 8:54 PM : rnielsen said on Oct 25, 2002 at 9:04 PM : goodtiminman said on Nov 8, 2002 at 5:26 AM : goodtiminman said on Nov 8, 2002 at 5:27 AM : dragan said on Dec 11, 2002 at 10:47 AM : rhallanger101 said on Jan 9, 2003 at 9:49 AM : .scott said on Feb 26, 2003 at 8:52 PM : rnielsen said on Apr 25, 2003 at 8:54 AM : sqlcow said on Jun 23, 2003 at 2:04 PM : MacAneyth said on Aug 19, 2003 at 2:50 AM : trickmandan said on Oct 30, 2003 at 2:01 PM : maizie said on Nov 6, 2003 at 1:55 PM :