tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: forward request by changing the port in request url
Date Thu, 13 Jun 2013 18:16:02 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Anil,

On 6/13/13 2:00 PM, Anil Goyal -X (anigoyal - Aricent Technologies at
Cisco) wrote:
> i have two service running under tomcat. One service is default
> i.e. catalina on port 8080 and 8443 second service is catalina_new
> on port 8081 and 8444.
> 
> i have application abc.war deployed in webapps_new service which is
> running on port 8081. This application is not there in webapps. i
> want if any request coming on port 8080 for application abc, it is
> forwarded to port 8081.(same for ssl port 8443->8444) Is there any
> way to do the same.

Tomcat does not come with any HTTP proxying capabilities out of the
box. If you want to do that kind of thing, you'll have to use some
kind of 3rd-party software.

Apache httpd is god at this kind of thing: reverse-proxying is
something it can do out-of-the-box.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRugxiAAoJEBzwKT+lPKRYwxAP/2KeJeq+bVwsml02oIuAiURf
mD3ZAycGC4OJIbt7/qO2rSwbrWiPMueN/Heafk6jqAkEDs6bLgbT3CYikm5nMyPA
/YXR4UlKsnAOPxD2lMZ3swxhoUeciv75RvQg+jSsySLf/29HkUg2vLeTXGVmjSOu
c9odZT8FhCav+zKpWVNd/bOZ26MvSxl0jPP0ANGfZ/o/gy6NNgj5QB7kp4WhNQUW
Xg4lCLegIx3ITcrtbLS+p5Jc0jSWD3buzkEcGTdZAPEZmkQyjSwxlv+JF6aSrBl4
yFLvubBylT+aqIlWXAYlWjSI5oqu+VOl94sEywi1T/kCHn+cWaKzZkmdXmzqcYmX
bf3qvis+WS1gXq2pN5GgrN+ex+XG1b3RUBnFAc7iN3ecHjTQiMVBwKKuKvBxsecf
Naa/0gbSyWbmnj0VPMZm6ug7M+hlO+AeA4ccJB39u+Cyg2WnyC2NRpS1uCds6BIj
4RlQ3kw6yuO2+ToTcGTzfq3v1RKXLm8Z6Q8xV8aXHgqYOwFtDi37EFr5ehniIiL+
eXpXo1e3TwrjrCRfG7qwgPZnU8jzUcZq42nl/qhar4l9cdbnl+6O0kQz9RWTJ0GK
8ozaXgVfjd0qB+uoPr2zw4ZzrZjENbTSLewVK+pYPcoMHhHi+ZIdGpYqDqmR2S3O
ii7nWwMkrtuFCXXVdyWe
=6wCS
-----END PGP SIGNATURE-----

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


Mime
View raw message