View comments | RSS feed
Contents > Installing and Using ColdFusion MX > Configuring Your System > Configuring web servers > Configuring Apache web server in Windows PreviousNext

Configuring Apache web server in Windows

This section describes how to configure the Apache web server for ColdFusion MX in Windows, and how to verify your configuration. You configure Apache using the Web Server Configuration Tool in either GUI or command-line mode. This discussion describes how to use GUI mode. To use the command line, open the batch files located in cf_root\bin\connectors. For more information, see the Web Server Management chapter of Configuring and Administering ColdFusion MX.

To configure Apache for ColdFusion MX in Windows:

  1. Start the Web Server Configuration Tool by selecting Start > Programs > Macromedia ColdFusion MX > Web Server Configuration Tool from the Start menu.
  2. Click Add.
  3. In the Server drop-down list box, select the host name and the server or cluster name to configure. For the ColdFusion MX server configuration, this is always default. Clustering support is only available on the JRun J2EE configuration.

    Note: The server or cluster does not have to reside on the web server computer.

  4. In the Web Server Properties area, select Apache and specify the path to the directory that contains the httpd.conf file.
  5. Select Configure web server for ColdFusion MX applications.

    Caution: Omitting the previous step causes your web server to serve ColdFusion MX source code.

  6. Click OK.
  7. Copy the CFIDE and cfdocs directories from cf_root\wwwroot to your web server root directory. In addition, copy your application's CFM pages from cf_root\wwwroot to your web server root directory.

To verify your Apache configuration:

  1. Verify that one of the following files was created:

    In the JRun J2EE configuration, this file is located under jrun_root/lib/wsconfig.

  2. Open the Apache configuration file, httpd.conf, in your Apache conf directory. On Windows, the default is C:\Program Files\Apache Group\Apache\conf\httpd.conf.

    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 IgnoreSuffixmap false
      JRunConfig Serverstore 
    "c:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store"
      JRunConfig Bootstrap 127.0.0.1:51000
      #JRunConfig Errorurl <optionally redirect to this URL on errors>
      JRunConfig jrun-handler .jsp .jws .cfm .cfml .cfc
    </IfModule>
    

Contents > Installing and Using ColdFusion MX > Configuring Your System > Configuring web servers > Configuring Apache web server in Windows PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


jrunrandy said on Nov 11, 2003 at 7:08 AM :
The .jws mapping is a feature of JRun web services. For more information, see http://livedocs.macromedia.com/jrun/4/Programmers_Guide/wspublish2.htm

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/config14.htm