Was just thinking about this, and am curious to know (though it's pretty
trivial)... Is there any functional difference between the two options - if
they're both even possible? Which would you go with?

- 1 Service element with 5 HTTP connectors (each on a different port) and
one Engine with 5 Hosts (<Host name="application.com:8080">, <Host
name="application.com:8081">, etc...)
<Service>
  <Connector/>
  <Connector/>
  <Connector/>
  <Connector/>
  <Connector/>
  <Engine>
     <Host/>
     <Host/>
     <Host/>
     <Host/>
     <Host/>
  </Engine>
</Service>

- 5 Service elements, each with 1 HTTP connector and one Engine with only 1
Host (i.e. the following repeated 5 times)
<Service>
  <Connector/>
  <Engine>
     <Host/>
  </Engine>
</Service>


I'm just trying to wrap my head around the server.xml file, and I believe
asking questions like this (though they may seem to be pretty pointless)
will help me understand better.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Port-based-virtual-hosting-tf3970665.html#a11270800
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to