tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: servlet mapping help (could be: mod_jk config help)
Date Tue, 15 Oct 2002 18:39:19 GMT bad.  Too many conversations going on at once.  

Just in case I sent someone down the wrong path by accident, this is my
working configuration for the Tomcat examples on localhost:

<IfModule !mod_jk.c>
  LoadModule jk_module /usr/local/apache2/modules/
JkWorkersFile "/usr/local/tomcat/conf/jk/"
JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
JkLogLevel emerg

# Static files
Alias /examples "/usr/local/tomcat/webapps/examples"

<Directory "/usr/local/tomcat/webapps/examples">
   Options Indexes FollowSymLinks
   DirectoryIndex index.html index.htm index.jsp

# Deny direct access to WEB-INF and META-INF
<Location "/examples/WEB-INF/*">
  AllowOverride None
  deny from all

<Location "/examples/META-INF/*">
  AllowOverride None
  deny from all

JkMount /examples/jsp/security/protected/j_security_check  ajp13
JkMount /examples/CompressionTest  ajp13
JkMount /examples/SendMailServlet  ajp13
JkMount /examples/servletToJsp  ajp13
JkMount /examples/snoop  ajp13
JkMount /examples/*.jsp  ajp13
JkMount /examples/servlet/*  ajp13

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
  port="8009" minProcessors="5" maxProcessors="75"
  acceptCount="10" debug="0"/>


> -----Original Message-----
> From: Milt Epstein []
> Sent: Tuesday, October 15, 2002 2:29 PM
> To: Tomcat Users List
> Subject: RE: servlet mapping help
> What do you have where "ajp13" is, and where "some-name" is?  Because
> they need to match.  Because the second argument to JkMount is a
> worker, the worker that should handle requests that match the URL
> pattern given (in the first argument).  And the
> worker.some-name.... settings define worker "some-name".

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message