Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 37639 invoked from network); 10 Oct 2008 06:58:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2008 06:58:30 -0000 Received: (qmail 52027 invoked by uid 500); 10 Oct 2008 06:58:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51641 invoked by uid 500); 10 Oct 2008 06:58:18 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 51630 invoked by uid 99); 10 Oct 2008 06:58:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 23:58:18 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_SECURITYSAGE,NORMAL_HTTP_TO_IP,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [196.25.240.79] (HELO ctb-mesg-1-1.saix.net) (196.25.240.79) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 06:57:12 +0000 Received: from animal (dsl-243-101-224.telkomadsl.co.za [41.243.101.224]) by ctb-mesg-1-1.saix.net (Postfix) with SMTP id A8C0A1A2CB for ; Fri, 10 Oct 2008 08:57:12 +0200 (SAST) Message-ID: <00de01c92aa5$8b92e480$0300000a@animal> From: "Johnny Kewl" To: "Tomcat Users List" References: <19912490.post@talk.nabble.com> Subject: Re: tomcat to tomcat redirect. Date: Fri, 10 Oct 2008 08:58:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080805-0, 2008/08/05), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Rohan7" To: Sent: Friday, October 10, 2008 8:02 AM Subject: tomcat to tomcat redirect. > > Hi All, > 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/ ? > > Please help me for the same. > > Thnaks > Rohan7 Hi Rohan, Not sure if you asking how to set TC.... if so look at the connector in server.xml... Or if you want to do an actual redirect in your app... response.sendRedirect(newUrl); --------------------------------------------------------------------------- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm --------------------------------------------------------------------------- If you cant pay in gold... get lost... --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org