Looks like your mapping (JkMount) for /examples is fine, but the mapping for
/servlets is not.

Here's the /examples section from my httpd.conf, for Tomcat 4.1.10, mod_jk,
and Apache 2.0.40 (1.3.26 shouldn't be any different):

# 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
</Directory>


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

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

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

Hope this helps.

John


> -----Original Message-----
> From: Terri Sterr [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 20, 2002 2:51 PM
> To: Tomcat Users List
> Subject: 404 not found error
> 
> 
> I am running tomcat 4.1.10, apache 1.3.26 on aix 433.  I 
> believe I have successfully compiled the 4.1.10 connector, 
> mod_jk.so, but I'm having the following problem.
> 
> http://localhost:8080/examples
> 
> works just fine.
> 
> http://localhost/examples
> 
> works just fine.
> 
> http://localhost:8080/examples/servlet/HelloWorldExample
> 
> works just fine.  However
> 
> http://localhost/examples/servlet/HelloWorldExample
> 
> returns a 404 not found error.
> 
> Apache's error_log reports the following.
> [Fri Sep 20 13:14:23 2002] [error] [client 204.64.66.192] 
> File does not exist: 
> /usr/jakarta-tomcat-4.1.10/webapps/examples/servlet/HelloWorldExample
> 
> It is not finding the real path which is 
> /usr/jakarta-tomcat-4.1.10/webapps/examples/WEB-INF/classes/He
> lloWorldExample
> 
> I have been researching this for days.  If anyone knows the 
> answer to what's wrong, please respond.
> 
> Thanks in advance.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to