Tim Funk wrote:
Doable : Yes
Out of the Box: No
You can write a Servlet filter to examine the incoming hostname and
forward the request with the username prefix. In fact - you might need
to write it : UrlRewriteFilter - http://tuckey.org/urlrewrite/ might
do it for you.
+1
In Tomcat and for that kind of thing, the UrlRewriteFilter is to my
knowledge the most flexible tool to do this.
You can also do this at the level of the front-end Apache if you already
have one anyway. Basically the UrlRewriteFilter was originally inspired
by what one can do with the Apache httpd mod_rewrite module.
If you already do some selective mapping at the Apache level (for
example to have static content delivered by Apache and dynamic content
by Tomcat), then I would think that it would be more logical to do this
at the level of Apache also, and keep your Tomcat configuration simple.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org