tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: Mapping URL->Servlet
Date Wed, 02 Aug 2000 08:28:25 GMT
> > > I'm especially interested in Tomcat as a servlet
> > > container for Apache.  I've tried using my old friend
> > > mod_rewrite, but it seems to confuse mod_jserv.
> > 
> > Is this what you want?
> > 
> > You have http:/somehost/mapping but you want
> > http:/somehost/something.html to be rewritten
> > to http:/somehost/mapping/something.html?
> 
> That's the idea, although my eventual needs are considerably more
> complex, which is why I'm trying to use mod_rewrite.
> 
> My problem: Tomcat seems to end up with the context information
> from the original request (that is, for your example, it tries
> to use an empty context rather than "mapping").  I haven't tracked
> down whether mod_jserv is passing the wrong information to Tomcat,
> or Tomcat is lifting the wrong information out of the AJP request.
> I have experimented with various orders for mod_rewrite and mod_jserv
> in the httpd.conf file, with no luck.

I'm still not quite sure if I got your problem correctly...
Why don't you map your servlet to the root?
I'm using cocoon who answers on

http:/ourhost/index.xml

--
Torsten

Mime
View raw message