All pastes #526604 Raw Edit

tom-ap-jk

public text v1 · immutable
#526604 ·published 2007-05-31 21:34 UTC
rendered paste body
#------ worker list ------------------------------------------
#---------------------------------------------------------------------
#
#
# The workers that your plugins should create and work with
# 
worker.list=ajp13_worker

#
#------ ajp13_worker WORKER DEFINITION ------------------------------
#---------------------------------------------------------------------
#

#
# Defining a worker named ajp13_worker and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13_worker.port=8009
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.
worker.ajp13_worker.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13_worker.cachesize

#

    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" acceptCount="10" debug="0"
               connectionTimeout="20000" useURIValidationHack="false"
               protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

JkWorkersFile /etc/libapache2-mod-jk/workers.properties
#path to workers file where tomcat instances are discribed

			JkLogFile /var/log/mod_jk.log 
#path to log file	

			JkLogLevel info

			JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

Alias /svnweb /usr/share/tomcat5/webapps/svnwebclient 
#JkMount /svnweb/servlet/* ajp13_worker 
JkMount /svnweb/*.jsp ajp13_worker 
<Location "/svnweb/">
AllowOverride None 
Allow from all 
</Location>