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

Configuring Apache web server on UNIX

This section describes how to configure the Apache web server for ColdFusion MX on UNIX, and how to verify your configuration.

Note: When running the Web Server Configuration Tool on the JRun J2EE configuration, wsconfig.jar is located in jrun_root/lib. You can also use the scripts in cf_root/bin/connectors, modifying them, as appropriate for your environment.

To configure the Apache web server for ColdFusion MX on UNIX:

  1. Enter the following command on a single line:
    java_root/bin/java -jar cf_root/runtime/lib/wsconfig.jar -ws Apache 
    -dir <apache config directory> -map .cfm,.cfc,.cfml -coldfusion -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 -map .cfm,.cfc,.cfml,.jsp,.jws -coldfusion -v

    Note: For unique configurations (such as the pre-configured Apache web servers from Redhat or Sun), add the -bin and -script parameters, as described in Configuring and Administering ColdFusion MX.

  2. 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:
    cf_root/runtime/lib/wsconfig/number/mod_jrun.so (Apache 1.3.x)
    or
    cf_root/runtime/lib/wsconfig/number/mod_jrun20.so (Apache 2.x)
  2. Open the Apache configuration file, httpd.conf, in your Apache conf directory. By default it is /etc/httpd/conf/httpd.conf.

    Verify that the following code is added 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>   JRunConfig jrun-handler .jsp .jws .cfm .cfml .cfc </IfModule>

Contents > Installing and Using ColdFusion MX > Configuring Your System > Configuring web servers > Configuring web servers on UNIX Configuring Apache web server on UNIX 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


No screen name said on May 28, 2004 at 12:36 AM :
Right now i'm using macromedia dreamwaver tutorial to
design my front page and i recommend the way you design
your steps.
Thanks
lawal Bello moriki
ASandstrom said on May 28, 2004 at 8:10 AM :
Thank you for your kind words. We read everyone's comments and like getting feedback that helps us improve the documentation.
rottmanja said on Feb 3, 2005 at 3:49 PM :
this simply does not work I have been trying to isntall cfmx 6.1 on my
linux box for over a week. I have read every tutorial I could find and
not a single one works.

 

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/config16.htm