官方的文档中是这么说的:
(有人试过吗? 我按照文档中的做了,但没有生成mod_jrun.so文件。WHY?)
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.
To configure Apache for ColdFusion MX in Windows:
Select Start > Run, and enter cmd.
At the command prompt, enter the following command on a single line:
cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib
-jar cf_root\runtime\lib\wsconfig.jar -ws Apache
-dir
-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
To verify your Apache configuration:
Verify that the following file was created:
cf_root\runtime\lib\wsconfig\1\mod_jrun.so
Open the Apache configuration file, httpd.conf, in your Apache conf directory. By default it 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"
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