Jonathan Mast wrote: > Haha thanks, Andre, I'm not lost but it seems other people might be.
Seriously: skip the extra Hosts, skip the Aliases, just use the defaultHost. I have a private label system in production right now that does exactly this. The Filter checks the domain name is suitable, looks up a config object and drops it into the request attributes for use on the page. There is only one Host defined, without a bunch of extra Aliases - it relies on the defaultHost. It also means that you don't need to restart the server for each additional subdomain. p > I'm going to go ahead define separate hosts, although the <Alias> option > mentioned might work, I don't know if it would preserve correctly the value > returned by request.getLocalName() which is what I'm using for determining > the host specific content, but if someone knows better than say so. The > <Alias> element is kinda poorly documented on tomcat.apache.com, it only has > a paragraph. Seems like a holdover from httpd configs.... > > On Thu, Jun 25, 2009 at 11:53 AM, André Warnier <a...@ice-sa.com> wrote: > >> Jonathan, >> if by now you are a bit lost in the various options related to the hostname >> and why, just say so. I have a practised step-by-step explanation available. >> It's all pretty standard HTTP/name-based virtual hosts stuff, but it has >> many people confused. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org