Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 12105 invoked from network); 2 Aug 2005 05:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 05:02:29 -0000 Received: (qmail 30741 invoked by uid 500); 2 Aug 2005 05:02:06 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30726 invoked by uid 500); 2 Aug 2005 05:02:06 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30713 invoked by uid 99); 2 Aug 2005 05:02:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 22:02:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.203.65.25] (HELO mercury.glencore.com) (212.203.65.25) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 22:01:57 -0700 Received: [from nekar.ch.glencore.com (localhost [127.0.0.1]) by mercury.glencore.com with ESMTP id j72523Fx013051 for ; Tue, 2 Aug 2005 07:02:03 +0200 (MEST)] Subject: Re: Forwarding Domains From: Bruno Georges Date: Tue, 2 Aug 2005 07:02:01 +0200 To: "Tomcat Users List" Importance: Normal MIME-Version: 1.0 Message-ID: Content-type: multipart/mixed; boundary="=_IS_MIME_Boundary" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_IS_MIME_Boundary Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi justin You can achieve url forwarding/rewriting using a simple servlet filter, or be= tter if you have apache in the front, use mod-rewrite, which is configurable = in your httpd.conf. If you are using iis, there are few available isapi filter which you can use,= alternatively you can write your own, which reacts on the preprocheaders or = urlmap notifications. Hope this helps. Bruno Georges Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 ----- Original Message ----- From: Justin Jaynes [justinjaynes@yahoo.com] Sent: 01.08.2005 23:53 To: tomcat-user@jakarta.apache.org Subject: Forwarding Domains Is it possible for me to host somedomain.com on my tomcat, and as that is my prefered domain name format, and want all users who go to www.somedomain.com (YES, I have A records set up for both and they point to the same tomcat server) to be re-directed to somedomain.com, using my tomcat setup? In other words, I want to move all my users from the domain they enter to a domain I prefer USING my tomcat setup. I imagine there is some way to set up my server.xml to do it. Justin Thanks in advance. I have never had an issue unresolved after submitting to this list. Bravo! --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=_IS_MIME_Boundary Content-Type: text/plain;charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline * * LEGAL DISCLAIMER * This message contains confidential information for * the exclusive use of the person mentioned above. * --=_IS_MIME_Boundary Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=_IS_MIME_Boundary--