From owner-freebsd-questions Sat Jan 19 23:49:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from benny.geektank.org (ip154.courtyard-off-main.sea.interquest.net [66.135.148.154]) by hub.freebsd.org (Postfix) with ESMTP id DAAB637B419 for ; Sat, 19 Jan 2002 23:49:07 -0800 (PST) Received: from localhost (tmchow@localhost) by benny.geektank.org (8.11.6/8.11.6) with ESMTP id g0K7mBe50973 for ; Sat, 19 Jan 2002 23:48:11 -0800 (PST) (envelope-from trevinchow@yahoo.com) Date: Sat, 19 Jan 2002 23:48:11 -0800 (PST) From: Trevin Chow X-X-Sender: tmchow@benny.geektank.org To: questions@freebsd.org Subject: using mod_rewrite to redirect ports? Message-ID: <20020119234506.K50936-100000@benny.geektank.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I'm trying to figure out how to properly setup mod_rewrite on Apache 1.3.22 to redirect requests for any sub-domain requests to the same subdomain but on a different port. In other words: http://.foo.com ---> http://.foo.com:8080/ Can anyone enlighten me how to actually do this? All the mod_rewrite tutorials I've seen are terrible and usually only deal with redirecting requests for specific files to other files but remain in teh same domain. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message