Adobe 38043740 User Guide - Page 89

Verify your Apache configuration, Configuring SunONE or iPlanet web server in UNIX

Page 89 highlights

ADOBE COLDFUSION 8 85 Installing and Using ColdFusion The following is a sample command: /opt/coldfusion8/runtime/bin/wsconfig -server coldfusion -ws Apache -dir /etc/httpd/conf-coldfusion -v Note: For unique configurations (such as the preconfigured Apache web servers from Redhat or Sun), add the bin and -script parameters, as described in Configuring and Administering ColdFusion. 2 Copy the CFIDE and cfdocs directories from cf_root/wwwroot to your web server root directory. In addition, copy your application's pages from cf_root/wwwroot to your web server root directory. In the multiserver configuration, these files are under the jrun_root/servers/cfusion/cfusion-ear/cfusion-war directory. 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) • cf_root/runtime/lib/wsconfig/number/mod_jrun20.so (Apache 2.x) In the multiserver configuration, this file is located under jrun_root/lib/wsconfig. 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/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun.so" JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Serverstore "/opt/ColdFusion8/runtime/lib/wsconfig/1/jrunserver.store" JRunConfig Bootstrap 127.0.0.1:51000 #JRunConfig Errorurl JRunConfig jrun-handler .jsp .jws .cfm .cfml .cfc Configuring SunONE or iPlanet web server in UNIX You can configure and verify SunONE Web Server or iPlanet web server (4.x or 6.x) for ColdFusion in UNIX. Note: When running the Web Server Configuration Tool on the multiserver configuration, wsconfig.jar is located in jrun_root/lib. On the server configuration only, you can also use the scripts in cf_root/bin/connectors, modifying them, as appropriate for your environment.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

85
ADOBE COLDFUSION 8
Installing and Using ColdFusion
The following is a sample command:
/opt/coldfusion8/runtime/bin/wsconfig -server coldfusion -ws Apache -dir
/etc/httpd/conf-coldfusion -v
Note:
For unique configurations (such as the preconfigured Apache web servers from Redhat or Sun), add the -
bin and -script parameters, as described in Configuring and Administering ColdFusion.
2
Copy the CFIDE and cfdocs directories from
cf_root
/wwwroot to your web server root directory. In addition,
copy your application’s pages from
cf_root
/wwwroot to your web server root directory. In the multiserver config-
uration, these files are under the
jrun_root
/servers/cfusion/cfusion-ear/cfusion-war directory.
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)
cf_root
/runtime/lib/wsconfig/
number
/mod_jrun20.so (Apache 2.x)
In the multiserver configuration, this file is located under
jrun_root
/lib/wsconfig.
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/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun.so"
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Serverstore "/opt/ColdFusion8/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>
Configuring SunONE or iPlanet web server in UNIX
You can configure and verify SunONE Web Server or iPlanet web server (4.x or 6.x) for ColdFusion in UNIX.
Note:
When running the Web Server Configuration Tool on the multiserver configuration, wsconfig.jar is located in
jrun_root
/lib. On the server configuration only, you can also use the scripts in
cf_root
/bin/connectors, modifying
them, as appropriate for your environment.