Adobe 38043740 User Guide - Page 88

Configuring web servers in UNIX

Page 88 highlights

84 CHAPTER 7 Configuring Your System 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. In Windows, the default is C:\Program Files\Apache Group\Apache\conf\httpd.conf. 3 Verify that the following code is appended to this file (except that if you are using Apache 2.2, the file name is mod_jrun22.so): # JRun Settings LoadModule jrun_module "c:/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun.so" JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig IgnoreSuffixmap false JRunConfig Serverstore "c:/ColdFusion8/runtime/lib/wsconfig/1/jrunserver.store" JRunConfig Bootstrap 127.0.0.1:51000 #JRunConfig Errorurl JRunConfig jrun-handler .jsp .jws .cfm .cfml .cfc .cfswf .cfr Configuring web servers in UNIX You configure web servers in UNIX by doing one of the following: • Configuring Apache web server in UNIX • Configuring SunONE or iPlanet web server in UNIX Configuring Apache web server in UNIX You can configure and verify the Apache web server 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. Configure the Apache web server for ColdFusion in UNIX 1 Enter the following command on a single line: wsconfig -server servername -ws Apache -dir -coldfusion -v Note: You must enter the previous command as a single (long) line. The wsconfig file is in cf_root/runtime/bin (server configuration) or jrun_root/bin (multiserver configuration)

  • 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

CHAPTER 7
84
Configuring Your System
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. In Windows, the default is
C:\Program Files\Apache Group\Apache\conf\httpd.conf.
3
Verify that the following code is appended to this file (except that if you are using Apache 2.2, the file name is
mod_jrun22.so):
# JRun Settings
LoadModule jrun_module "c:/ColdFusion8/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:/ColdFusion8/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 .cfswf .cfr
</IfModule>
Configuring web servers in UNIX
You configure web servers in UNIX by doing one of the following:
Configuring Apache web server in UNIX
Configuring SunONE or iPlanet web server in UNIX
Configuring Apache web server in UNIX
You can configure and verify the Apache web server 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.
Configure the Apache web server for ColdFusion in UNIX
1
Enter the following command on a single line:
wsconfig -server servername -ws Apache -dir <apache config directory> -coldfusion -v
Note:
You must enter the previous command as a single (long) line.
The wsconfig file is in
cf_root
/runtime/bin (server configuration) or
jrun_root
/bin (multiserver configu-
ration)