Hello,
My apologies if the question has been asked previously, and I suspect it
has, but on a quick search through the archives, I didn't find exactly this
question.
Servlet mapping seems to fail on an out-of-the-box installation of Tomcat
3.1 with Apache. The test webapp installed with tomcat has the following
mapping:
**snip**
<servlet>
<servlet-name>
servlet3
</servlet-name>
<servlet-class>
requestMap.Servlet3
</servlet-class>
</servlet>
**snip**
<servlet-mapping>
<servlet-name>
servlet3
</servlet-name>
<url-pattern>
/catalog
</url-pattern>
</servlet-mapping>
**snip**
So I can call http://servername:8080/test/catalog. And this works fine.
Output is 'Servlet: Servlet3'. All right and proper.
Now I link apache (1.3.14) with Tomcat. Just like the manual says, with a
'Include /usr/local/jakarta-tomcat/conf/tomcat-apache.conf' directive. And
restart Apache and Tomcat.
Now, calling http://servername/test/catalog should give me exactly the same
output, right? Nope. I get :
------------
The requested URL /test/catalog was not found on this server.
Apache/1.3.14 Server at f50dev2 Port 80
------------
Looks like apache is intercepting the call to the webapp and trying to find
/test/catalog instead of forwarding the request to Tomcat.
What's up? Like I said, this is a out-of-the-box installation.
Thanks
Rit
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]