tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Calum <cal...@gmail.com>
Subject Catch-all host
Date Tue, 12 Jul 2011 12:18:38 GMT
Hello all,

I think I remember seeing something related to this on the list
recently, but I just wanted to ask explicitly:

Can you set up a catch-all host in Tomcat?

<Host name="*" appBase="......." />

If not, could it be made possible, or is there any workaround possible?
I'm thinking that an Apache RewriteRule that redirects to
/catchall/?url=http://foo.bar.com/test/foo or whatever could work, but
it's a bit of a kludge.

Calum

PS. I'm running Tomcat 6.0.32, but could upgrade if it was in a later version.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message