You may want to see a piece on remapping in my Tomcat FAQ getting old.
http://www.ccl.net/cca/software/UNIX/apache/index.shtml
You cannot remap stuff out of your context, though...
Jan
On Tue, 6 Feb 2001, Ritwick Dhar wrote:
> 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]
>
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]