Adobe 38043740 User Guide - Page 87

Configuring Apache web server in Windows, Con Apache for ColdFusion in Windows, Verify your

Page 87 highlights

ADOBE COLDFUSION 8 83 Installing and Using ColdFusion 3 Verify that the following was added to the file: PathCheck fn=find-index {check index.cfm is added} PathCheck fn="jrunfilter" ObjectType fn=type-by-exp exp={*.cfm, *.cfc, *.cfswf, *.jsp, *.jws, *.cfr} type="jruninternal/ext" Service method=(GET|HEAD|POST) type="jrun-internal/*" fn="jrunservice" Configuring Apache web server in Windows You configure Apache by using the Web Server Configuration Tool in GUI or command-line mode. This discussion describes how to use GUI mode. (Server configuration only) To use the command line, open the batch files located in cf_root\bin\connectors. For more information, see the Web Server Management topic in Configuring and Administering ColdFusion. Configure Apache for ColdFusion in Windows 1 Start the Web Server Configuration Tool by selecting Start > Programs > Adobe > ColdFusion 8 > Web Server Configuration Tool. 2 Click Add. 3 In the Server pop-up menu, select the host name and the server or cluster name to configure. For the ColdFusion server configuration, this is always coldfusion. Clustering support is not available on the server 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 the Configure web server for ColdFusion applications option, and click OK. Note: Omitting the previous step causes your web server to serve ColdFusion source code. 6 Copy the CFIDE and cfdocs directories from cf_root/wwwroot to your web server root directory. Also, copy your application's CFM 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.2.7) • cf_root\runtime\lib\wsconfig\number\mod_jrun20.so (Apache 2.x)

  • 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

83
ADOBE COLDFUSION 8
Installing and Using ColdFusion
3
Verify that the following was added to the file:
PathCheck fn=find-index {check index.cfm is added}
PathCheck fn="jrunfilter"
ObjectType fn=type-by-exp exp={*.cfm, *.cfc, *.cfswf, *.jsp, *.jws, *.cfr} type="jrun-
internal/ext"
Service method=(GET|HEAD|POST) type="jrun-internal/*" fn="jrunservice"
Configuring Apache web server in Windows
You configure Apache by using the Web Server Configuration Tool in GUI or command-line mode. This
discussion describes how to use GUI mode.
(Server configuration only) To use the command line, open the batch files located in
cf_root
\bin\connectors.
For more information, see the Web Server Management topic in
Configuring and Administering ColdFusion
.
Configure Apache for ColdFusion in Windows
1
Start the Web Server Configuration Tool by selecting Start > Programs > Adobe > ColdFusion 8 > Web Server
Configuration Tool.
2
Click Add.
3
In the Server pop-up menu, select the host name and the server or cluster name to configure. For the
ColdFusion server configuration, this is always coldfusion. Clustering support is not available on the server
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 the Configure web server for ColdFusion applications option, and click OK.
Note:
Omitting the previous step causes your web server to serve ColdFusion source code.
6
Copy the CFIDE and cfdocs directories from
cf_root
/wwwroot to your web server root directory. Also, copy
your application’s CFM 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.2.7)
cf_root
\runtime\lib\wsconfig\
number
\mod_jrun20.so (Apache 2.x)