-
From: Per Johnsson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 13, 2006 7:52 PM
To: Tomcat Users List
Subject: Re: Mapping different different folders in a webapp to different
urls
Hi!
We have managed to do that but with a side effect that Tomcat loads each
webapp several times. This is
Hi,
and what about to write a servlet filter?
I have my test domain with several virtual hosts IN CNAME to localhost
(or any other IP where is Tomcat listening) in my DNS. I wrote an
simple filter which parses virtual host name (request.getLocalName()
-- always contains full computer name from re
Hi!
We have managed to do that but with a side effect that Tomcat loads each
webapp several times. This is an example config.
I think by setting the webapps folder to a empty dummy folder you could
get rid of the autoloaded webapps
and only get those you want. I have not tried it ou
If you are planning to use apache anyway, then you could use mod_rewrite
for this (see apache docs on mod_rewrite - but basically rewrite
(internally) the "a.abc.com" to "abc.com/a" and connect "abc.com/a" via
mod_jk to tomcat "/a" and then tomcat doesn't need to know about the
rewrite).
don'