Specifications
© 2013 Adobe Systems Incorporated and its licensors. All rights reserved.
1.
2.
3.
4.
5.
6.
1.
uriworkermap.properties: Mapped extensions based on which the connector forwards
requests to Tomcat.
mod_jk.conf: Contains paths to all files in the directory. Change the\config\wsconfig\1
entry to for debugging purposes.JKloglevel info JKloglevel debug
Note
For virtual host configuration, add the following entry in each of the virtual
blocks: JkMountFile " \config\wsconfig\1\uriworkermapcfroot
..properties:"
* :*Configure Apache virtual host for each ColdFusion instance
Assume that you have two instances: cfusion and server1.
Configure Apache webserver for cfusion instance using the wsconfig tool. This step creates the
connector-related files in the folder. It also creates the cfroot\config\wsconfig\1 mod_jk.conf
in the folder. The file is included in the .<Apacheroot>\conf mod_jk.conf httpd.conf
Configure Apache virtual hosts.
In of , add to . Forworkers.properties cfroot\config\wsconfig\1 server1 workers.list
example, .worker.list=cfusion,server1
Add the following block of code:
worker.server1.type=ajp13
worker.server1.host=localhost
worker.server1.port=8014
Note
The port is the AJP port for server1 and that can be found in server1.server.xml in
the cfroot\server1\runtime\conf\server.xml.
Copy the content of uriworkermap.properties in cfroot\config\wsconfig\1 to uriworkermap1.properties.
Replace the cfusion with server1.
Now add the following line in each of the virtual host: For example, VH1 is the ColdFusion instance. It
should have: VH2JkMountFile "cfroot\config\wsconfig\1\uriworkermap.properties"
is the server1 instance. It should have .JkMountFile "cf_root\config\wsconfig\1"
Configuring web servers in UNIX
You configure web servers in UNIX by doing one of the following:
Configuring Apache web server in UNIX
Configure Sun Java System Web Server 7 on UNIX
Configuring Apache web server in UNIX
You can configure and verify the Apache web server for ColdFusion in UNIX.
Configure the Apache web server for ColdFusion in UNIX
Enter the following command on a single line: