-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jose,

On 3/4/16 3:46 PM, Jose María Zaragoza wrote:
> Maybe my question does't have to do with current thread ( an
> probably doesn't have any sense at all) but :
> 
> would be possible to define "VirtualHost" according the destination
> port ? I know that VirtualHost diferent domain name, but i want to
> keep the same domain name and to define 2 connectors , listening on
> 8080 and 8081 Requests to 8080 go to /webapps-app1 and requests to
> 8081 go to /webapps-app2
> 
> is it possible in a only one Tomcat instance ? or  I need to
> configure 2 tomcat instances ?

You would need to configure Tomcat to listen on two different
interfaces (or two different ports as you have above), plus have those
<Connectors> in separate <Service>s in Tomcat's configuration so their
<Host>s wouldn't interfere.

More trouble than it's worth IMO.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlbZ/7QACgkQ9CaO5/Lv0PCkSACeMSZQwKieHP+h3caeV+aKVKnN
3BYAoMRm2Y/fKndlsCsti72ujxKP7wi2
=Yxuf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to