Sunday, 22 May 2011

Configure mod_jk – Part I. mod_jk.conf

Configure workers.properties
cd /etc/httpd/conf.d
vi mod_jk.conf
(and paste this)
# This is a basic mod_jk.conf file from The Cool Server
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardURICompat +ForwardKeySize
JkRequestLogFormat "%w %V %T"


Set file permissions mod_jk.conf
chown root:bin /etc/httpd/conf.d/httpd-jk.conf
chmod 644 /etc/httpd/conf.d/httpd-jk.conf


Another configuration for Apache HTTPD has to be done.
In Part II we configure workers.properties.

No comments:

Post a Comment