Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53742 invoked from network); 13 Apr 2005 22:11:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Apr 2005 22:11:31 -0000 Received: (qmail 28788 invoked by uid 500); 13 Apr 2005 22:11:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 28764 invoked by uid 500); 13 Apr 2005 22:11:13 -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 28742 invoked by uid 99); 13 Apr 2005 22:11:13 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=URIBL_SBL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp2.netglobalis.cl (HELO smtp2.netglobalis.cl) (200.14.80.92) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Apr 2005 15:11:10 -0700 Received: from cpath.psinet.cl ([200.14.80.251]:42160) by smtp2.netglobalis.cl with esmtp (Exim 4.50 #1 (mailNG/UNIX)) id 1DLq4h-0001PK-L9 for ; Wed, 13 Apr 2005 18:11:07 -0400 Received: from [200.29.14.68] (200.29.14.68) by cpath.psinet.cl (5.1.056) id 40DFFDAD006E2CD2 for users@httpd.apache.org; Wed, 13 Apr 2005 18:11:07 -0400 Message-ID: <425D996B.6070402@Ivn.cl> Date: Wed, 13 Apr 2005 18:12:59 -0400 From: "Ivan Barrera A." Reply-To: Bruce@Ivn.cl Organization: Ivn Systems/Software User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: Re: [users@httpd] Simple mod_rewrite issue X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Patrick Campbell wrote: > Thanks for your help - > > Here's the problem still: > > If I go to > http://www.mydomain.com/brand=3333 then I'll get to google > > But I need it to catch if I go to > http://www.mydomain.com/"anything"brand=3333"anything" and shoot me over > to google.com > Sorry,. i forgot RewriteEngine On RewriteRule brand=12345(.*) "http://www.google.com" > -- > Patrick Campbell > OurVacationStore.com > Website Administrator > Tel. 602.896.4729 > -----Original Message----- > From: Ivan Barrera A. [mailto:Bruce@Ivn.cl] > Sent: Wednesday, April 13, 2005 2:54 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Simple mod_rewrite issue > > Patrick Campbell wrote: > > I am a little slow with this mod_rewrite stuff. I need basically > > something very simple: > > > > If the url contains the string "brand=12345" (anywhere in the url), then > > send it to www.whatevercom/some/external/site > > > > I've tried something like > > > > RewriteEngine On > > RewriteRule ^brand=12345$ "http://www.google.com" > > remove ^ and $ > ^ means "starts at" > $ means "ends at" > > > > > But this isn't working, I know I'm not doing this right but don't know > > how to fix it. > > > > Thanks. > > > > -- > > Patrick Campbell > > OurVacationStore.com > > Website Administrator > > Tel. 602.896.4729 > > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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