You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by DanO <da...@informano.net> on 2001/02/09 02:40:40 UTC

[config] mod_rewrite to servlet?

i'm trying to map a virtualhost to a servlet (i'm using tomcat, of course):

should work like:

wap.foobar.com --> /some/path/to/a/servlet

the servlet needs to be able to read POST and GET:

wap.foobar.com?foo=bar&morefoo=morebar sends foo and morefoo to servlet.

mod_rewrite seems to be the tool, but i'm unsure of how to set it up so that
it all maps seamlessly.

any takers?

TIA,
DanO