Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49225 invoked by uid 500); 20 Jan 2003 14:16:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 49210 invoked from network); 20 Jan 2003 14:16:01 -0000 Received: from ns0a.swx.com (146.109.240.107) by daedalus.apache.org with SMTP; 20 Jan 2003 14:16:01 -0000 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0a.swx.com (8.12.6/8.12.6) with ESMTP id h0KEFwlA008135 for ; Mon, 20 Jan 2003 15:15:58 +0100 (MET) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.12.6/8.12.6) with ESMTP id h0KEFvnW019622 for ; Mon, 20 Jan 2003 15:15:57 +0100 (MET) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Date: Mon, 20 Jan 2003 15:15:56 +0100 Message-ID: <484A6CA492BE654395D208B1D8D5393972F788@SOMEXEVS001.ex.ordersx.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] redirect IP Importance: normal thread-index: AcLAjdjBruEnyWzQSCuY1+k9mvmKmAAACKUw Priority: normal From: "Boyle Owen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] redirect IP >-----Original Message----- >From: Nelson Goforth [mailto:ngoforth@earthnet.net] >Sent: Montag, 20. Januar 2003 15:11 >To: users@httpd.apache.org >Subject: Re: [users@httpd] redirect IP > > >Owen, > >Couldn't you skip the "SetEnvIf" section and go straight to >the Rewrite? > > RewriteCond %{REMOTE_ADDR} ^127.0.0.1 > RewriteRule ^(.+)$ http://www.domain.tld/$1 > This is one way to do it... SetEnvIf & (CGI | SSI | something) is just an alternative if you don't want to use mod_rewrite. Rgds, Owen Boyle This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org