#########################################################
# Auto configuration for the /annai context starts.
#########################################################
#
# The following line makes apache aware of the location of the /annai context
#
Alias /myWebApp "d:/Tomcat/webapps/myWebApp"
Options Indexes FollowSymLinks
#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /annai/servlet/* ajp13
JkMount /annai/*.jsp ajp13
#
# The following line prohibits users from directly accessing WEB-INF
#
#AllowOverride None
#deny from all
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
#AllowOverride None
#deny from all
#
# The following line prohibits users from directly accessing META-INF
#
#AllowOverride None
#deny from all
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
#AllowOverride None
#deny from all
#######################################################
# Auto configuration for the /annai context ends.
#######################################################
workers.properties文件内容
#
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=d:\tomcat
#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=C:\j2sdk1.4.0
#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\
# ps=/
#
#------ DEFAULT worket list ------------------------------------------
#---------------------------------------------------------------------
#
#
# The workers that your plugins should create and work with
#
worker.list=ajp13
#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.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.lbfactor=1
#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize
#
# The loadbalancer (type lb) workers perform wighted round-robin
# load balancing with sticky sessions.
# Note:
# ----> If a worker dies, the load balancer will check its state
# once in a while. Until then all work is redirected to peer
# workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13