-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rohan7,
Rohan7 wrote: > I'm using tomcat 5.5 . I'm using public IP- http://1.2.3.4:8084/Project/. > Now the similar instance is running on the > internal IP. http ://192.168.100.102:8080/Project/. > > My question is - Can I redirect from http://1.2.3.4:8084/Project/ to http > ://192.168.100.102:8080/Project/ ? A redirect isn't what you want. Technically, a redirect is a response to the original request back to the client that says "see this other URL instead". That's not going to work with your private, non-routable 192.168 IP address. Instead, what you're talking about doing is proxying. I'm positive Tomcat can be used as a proxy, but there are better packages out there for proxying like Apache httpd (a bit heavy, but definitely up to the task) or "squid" (which is exclusively a proxy server). Do you want to proxy all traffic, or just a few special URLs? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjvcf0ACgkQ9CaO5/Lv0PDRKgCgpA7zNP0/ljxlnQWA6dvxqX/1 2sEAnjQqzXsVsaKlrOwhGWpFXhW/cu4w =4zLL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]