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:33:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chuck,

On 6/13/13 2:23 PM, Caldarale, Charles R wrote:
>> From: Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
>> [mailto:anigoyal@cisco.com] Subject: forward request by changing
>> the port in request url
> 
>> i have application abc.war deployed in webapps_new service which
>> is running on port 8081. This application is not there in
>> webapps.
> 
> You should install at least a ROOT application for that
> service/host.
> 
>> 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.
> 
> Once you have a ROOT webapp, you can deploy the standard URL
> rewrite filter therein to send the request anywhere you want:
> 
> http://tuckey.org/urlrewrite/

I don't think that can be used for proxying, can it? I read the OP as
saying there were two separate services, so it's not a simple forward
or redirect.

- -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/

iQIcBAEBCAAGBQJRuhBrAAoJEBzwKT+lPKRYRPYP/ie8SwRTy08927ugk9kTb5hI
jwFGwjUI4zPkIB03lu1sK1Q5s57hk6kjN/ggox0+GWe0g5uMfMFjia2dd0+ei+jk
TJLQ5Lzm6bdoLJW7uHpuecGHYpgp52MEn6XzDQiszoiaQNtPfCWH/TNeCNA6WxvH
nlGOSOD3SalLW4egxChvmgihVUPW6YDR8zqPrYSOgmViXCLAu8E8kVAH41lrHWdJ
1TV9cTi4ebxofYcY5yEixl5QRwO0dN04ibeSp2iAdZzLo5zESPlOWWQXaXq0XBrq
OEjfTgfR09ZQ2KI6XZ/Ejr35bvL3XUqPzuY8lT8/c5NJMDINI8fY7b96ukCoPebS
7ilqO+H5FjLECdcYu/VshNWE0hZUGbQZR04NZcT63tAr0M8MOUuSZd9XsK6ldZ0V
BRKnJjzZQ3/tT6ElwZGHo/dwdqb9pH2lwEe2s2VKIAn/zrhytUscIPqU0GL1zsGy
xAWaIzMf42aZ3gvShD1sT60oev/udk6O6rpbyi5Mlt2LFrCT+1z5DU5ynHJ273DU
AtJH+WO9bkZfhZqv+Sunus4fag5YtNAEOReYW5x/30t1Rm2qVsre6Aw8RmbBLgtk
9OQRgHRFKaci+X9vgNJYEcNx+FPqLKqwTxoXIksCMxwGnq61pZ0ei4uR9cFxV/Bh
RyDiQiNf+LP7dYyzqHrE
=bmsH
-----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