tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Share war file / virtual hosts
Date Mon, 22 Sep 2008 17:46:40 GMT
Mathias P.W Nilsson wrote:
> The problem is this.
> 
> I would like to set up 3 connector that points to 3 different domains
> One Host element and many aliases. Can this be done? The connectors are
> https.
> 
> <Connector port="443" ...... address="....1"/>
> <Connector port="443" ...... address="....2"/>
> <Connector port="443" ...... address="....3"/>
> 
> <Host ="localhost">
>   <Alias></Alias>
> </Host>

yes it can, you just need to set your hostname to be the default host in
the Engine element.

 <Engine defaultHost="defaulthostname" ... >

 <Host name="defaulthostname" ... >

 - assuming you want to determine the application's response per domain
yourself.


p


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


Mime
View raw message