# simple configuration for apache (for AJP connector, modul mod_jk.so)
<IfModule mod_jk.c>
JkWorkersFile /srv/tomcat5/jakarta-tomcat-5.0.30/workers.properties
JkLogFile /var/log/tomcat5/mod_jk.log
# Log level to be used by mod_jk
JkLogLevel error
# The following line makes apache aware of the location of
# the /servlets-examples context
# Alias /servlets-examples "/srv/www/tomcat5/jakarta-tomcat-5.0.30/webapps/servlets-examples"
# <Directory "/srv/tomcat5/jakarta-tomcat-5.0.30/webapps/servlets-examples">
# Options Indexes FollowSymLinks
# allow from all
# </Directory>
# The following line makes apache aware of the location of
# the /jsp-examples context
# Alias /jsp-examples "/srv/tomcat5/jakarta-tomcat-5.0.30/webapps/jsp-examples"
# <Directory "/srv/tomcat5/jakarta-tomcat-5.0.30/webapps/jsp-examples">
# Options Indexes FollowSymLinks
# allow from all
# </Directory>
# The following line mounts all JSP files and the /servlet/ uri to tomcat
JkMount /servlets-examples/servlet/* wrkr
JkMount /jsp-examples/*.jsp wrkr
JkMount /servlet/* wrkr
# The following line prohibits users from directly accessing WEB-INF
#<Location "/jsp-examples/WEB-INF/">
# AllowOverride None
# deny from all
# </Location>
#<Location "/servlets-examples/WEB-INF/">
# AllowOverride None
# deny from all
# </Location>
</IfModule>