tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: Implementing wildcard hostnames or aliases
Date Wed, 13 Feb 2008 12:55:20 GMT
Michael Wyraz wrote:
> Hi,
> 
> I was searching for a way to use wildcard host names in tomcat (e.g. 
> *.myhost.com). With the current implementation it seems not to be 
> possible. I found some ideas like using a valve at engine level which 
> forwards to the correct hostname. The problem with this is that the 
> servlets wouln'd see the original hostname then (correct me if I'm wrong 
> with that).
> 
> So I'm looking for a way to implement this. Since tomcat is very 
> modular, maybe it's just one component which needs to be replaced by a 
> modified one. But I'm not a tomcat developer and so I have no idea where 
> to start with that. So could you help with some ideas how I could 
> implement this? I would do the implementation and send the results to 
> the devel team.

I considered this is better addressed by some generic rewriting 
something rather than a lot of custom hardcoded rules.

Rémy


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


Mime
View raw message