Next: /etc/tomcat/server.xml Up: Configuration Previous: /etc/apache/httpd.conf   Contents
This is an automatically generated file, generated when you start Tomcat2. You will probably want to copy it to another file, such as ``/etc/apache/mod_jk/tomcat.conf'' and remember to change the ``Include'' line in httpd.conf to reflect this.
When you do copy it, you will probably want to make the following changes inside it:
Alias /tomcat-examples "/usr/share/tomcat/webapps/tomcat-examples"
Options Indexes FollowSymLinks
JkMount /tomcat-examples/servlet/* ajp13
JkMount /tomcat-examples/*.jsp ajp13
# The following line prohibits users from directly accessing WEB-INF
deny from all
# The following line prohibits users from directly accessing META-INF
deny from all
</Location>As you can see, these are all Apache directives. If you are unsure of their meaning, please consult the documentation at http://www.apache.org/. JkMount is the mod_jk.so specific directive that identifies to mod_jk what requests should be redirected to Tomcat. ajp13 is the protocol that is used to make this request. ajp12 is an older protocol, that will be used in the examples, in the above I changed it to ajp13 and you should probably too.
Next: /etc/tomcat/server.xml Up: Configuration Previous: /etc/apache/httpd.conf   Contents 2001-05-26
|Modified: Sun May 27 22:08:42 2001 GMT|
|Page accessed 4441 times since Mon Feb 3 15:24:46 2003 GMT|