tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chauhan, Anand" <>
Subject RE: starting in a default servlet
Date Tue, 12 Jun 2001 17:23:30 GMT
Hi Pedro,

Did you try putting in:
JkMount /myapp/*  ajp13

It works for me ! 

Good Luck,
Anand Chauhan

-----Original Message-----
From: Pedro Salazar []
Sent: Tuesday, June 12, 2001 1:13 PM
Subject: starting in a default servlet


I configured tomcat to when I start my application to run a default 
servlet [url-pattern is /]:

in web.xml:

When I go to http://myserver:8080/myapp/ my servlet starts as expected.
Now I would like to do the samething but with apache (without the 8080 
But, apache assumes that the root application is only for him to handle, 
and only /myapp/servlet/* or /myapp/*.jsp is for TOMCAT to handle 
[JkMount]. What is happening is that apache shows the root of myapp!!

JkMount /myapp/servlet/* ajp13
JkMount /myapp/*.jsp ajp13

What should I do for when I request http:/myserver/myapp/ apache 
redirect the request to tomcat?


View raw message