You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andy Bosch <An...@csi.com> on 2000/08/22 17:18:57 UTC

Apache, Tomcat and mod_rewrite

Hi,

I have a website with apache / tomcat. I would like to
integrate mod_rewrite. The normal things work fine with it,
but when I try to map
/mysite.html/5   to /servlets/myservlet?id=5
I get an error 404 (document not found).

It is because apache is looking for an directory /servlets
within htdocs. /servlets again is redirected from jserv
with ApJservMount ... .

How can I make a RewriteRule which sends the redirections to tomcat and not
to apache????

Thanks,
Andy