I must admit that I'm lost, despite hours of readings.... I have to
add that Tomcat documentation is never very clear and comprehensible.
I can't see how a host can use such and such connector!? I mean, the
connector's doc at
http://tomcat.apache.org/tomcat-6.0-doc/config/http.htmldoesn't tell
me which host I could attach it to. And host's doc at
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html doesn't
give any clue which connector to use.
And I've a doubt that virtual hosting is actually what I was looking.
Currently, I access the Tomcat's default website using an URL like
this:
http://myservername:x/....
All I want to do is to have another website using an URL like this:
http://myservername:y/....
TIA
On Thu, Mar 19, 2009 at 6:18 PM, Caldarale, Charles R <
[email protected]> wrote:
> > From: Caldarale, Charles R [mailto:[email protected]]
> > Subject: RE: How to make Tomcat serve/listen to one more port?
> >
> > Correct; the <Host> element is equivalent to a web site, the
> > <Connector>s just feed the <Host>s, based on the name and <Alias>.
>
> Note that you don't really need multiple <Connector> elements to support
> multiple <Host>s; one <Connector> will suffice, and it will route requests
> to the appropriate <Host> based on the URL.
>
> - Chuck
>