# simple configuration for apache (for AJP connector, modul mod_jk.so) JkWorkersFile /etc/tomcat6/workers.properties JkLogFile /var/log/tomcat6/mod_jk.log JkShmFile /var/log/tomcat6/jk-runtime-status # Log level to be used by mod_jk JkLogLevel error # JkLogLevel debug # The following line makes apache aware of the location of # the /examples/servlets context # # WARNING! Contrary to the normal freedom in the choice of apache2 Aliases # it is mandatory here that the Alias is formed from the exact # tomcat6 path with the tomcat6 DocumentRoot prefix stripped! # Alias /examples/servlets "/srv/tomcat6/webapps/examples/servlets" Options Indexes FollowSymLinks allow from all # The following line makes apache aware of the location of # the /examples/jsp context Alias /examples/jsp "/srv/tomcat6/webapps/examples/jsp" Options Indexes FollowSymLinks allow from all # Reference for JkMount directive: # http://tomcat.apache.org/connectors-doc/reference/apache.html # The following line mounts all JSP files and the /servlet/ uri to tomcat JkMount /examples/servlets/servlet/* ajp13 JkMount /examples/jsp/*.jsp ajp13 # The following line prohibits users from directly accessing WEB-INF deny from all deny from all