
100
CONFIGURING AND ADMINISTERING COLDFUSION 10
Web Server Management
L
ast
u
p
dated
7/9/2
01
2
2
Configure all existing IIS sites (ISPs):
cf_root/runtime/bin/wsconfig.exe -ws iis -site 0 -v
3
Configure Apache on UNIX #1:
cf_root/runtime/bin/wsconfig -ws Apache -bin /opt/apache2/bin/httpd -script
/opt/apache2/bin/apachectl -dir /opt/apache2/conf -v
4
Configure Apache on UNIX #2:
cf_root/runtime/bin/wsconfig -ws Apache-bin /usr/bin/httpd -script /usr/bin/httpd -dir
/etc/httpd/conf -coldfusion -v
5
Configure Apache in Windows:
cf_root/runtime/bin/wsconfig.exe -ws apache -dir "c:\program files\apache
group\apache2\conf" -coldfusion -v
6
Configure Sun ONE Web Server on UNIX:
cf_root/runtime/bin/wsconfig -ws sunone -dir [path to config] -coldfusion -v
Configuration files
Each time you run the Web Server Configuration Tool, it creates a configuration file and directory. For example, the
first time you run the tool in the server configuration, it creates files under
cf_root
/config/wsconfig/1; the second time,
it creates
cf_root
/config/wsconfig/2; and so on. Each of these subdirectories contains the appropriate platform-specific
connector module and web-server-specific supporting files.
Sample configuration files
The following are some examples of connector-specific web server properties that help describe the web server
configuration file parameters. These examples assume that Tomcat and the web server are on the same computer.
Apache configuration file
The following is a typical httpd.conf file for an installation of ColdFusion on the same computer as an Apache 2.0 web
server. The httpd.cof file includes the following entry:
Include "Apache_install\Apache Software Foundation\Apache2.2\conf\mod_jk.conf"
The
mod_jk.conf
file has the following: