
101
CONFIGURING AND ADMINISTERING COLDFUSION 10
Web Server Management
L
ast
u
p
dated
7/9/2
01
2
# # Load mod_jk module
LoadModule jk_module "CF_install\config\wsconfig\1\mod_jk.so"
# Where to find workers.properties
JkWorkersFile "CF_install\config\wsconfig\1\workers.properties"
JkMountFile "CF_install\config\wsconfig\1\uriworkermap.properties"
# Where to put jk logs
JkLogFile "CF_install\config\wsconfig\1\mod_jk.log"
# Where to put jk shared memory
JkShmFile "CF_install\config\wsconfig\1\jk_shm"
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
AddHandler jakarta-servlet .cfm .cfml .cfc .cfr .cfswf
Alias /CFIDE "CF_install\cfusion\wwwroot\CFIDE"
<Directory "CF_install\cfusion\wwwroot\CFIDE">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Files ~ ".hbmxml$">
Order allow,deny
Deny from all
</Files>
Sun ONE configuration file
The following is a typical obj.conf file for iPlanet, or Sun ONE Web Server:
Init fn="load-modules" shlib="j2eeplugin.dll"
Init fn="load-modules" shlib="CF_install/config/wsconfig/2/nsapi_redirect.dll"
funcs="jk_init,jk_service"
Init fn="jk_init" worker_file="CF_install/config/wsconfig/2/workers.properties"
log_level="info" log_file="CF_install/config/wsconfig/2/nsapi.log"
shm_file="CF_install/config/wsconfig/2/jk_shm"
The following is a typical magnus.conf file for iPlanet, or Sun ONE Web Server: