From owner-freebsd-questions Wed Sep 5 10:47:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E7D137B405 for ; Wed, 5 Sep 2001 10:46:50 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 88C0BE7; Wed, 5 Sep 2001 09:46:40 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: "Lee Mark Mercado" , freebsd-questions@FreeBSD.ORG Subject: Re: apache Date: Wed, 5 Sep 2001 09:46:39 -0800 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010905174640.88C0BE7@nebula.anchoragerescue.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 05 September 2001 09:16 am, Lee Mark Mercado wrote: > im hosting the dns for myhosteddomain.com and email. but the website has a > different URL and is not in my freebsd box. > > how do i make a redirect when a call is given to my freebsd box with > http://www.myhosteddomain.com and redirect it to a different URL without > the client knowing its being redirected. > > need help. thx > You use the mod_rewrite function in your httpd.conf. These links should get you started: http://httpd.apache.org/docs/mod/mod_rewrite.html http://www.heise.de/ix/artikel/E/1996/12/149/ Beech ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message