Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53612 invoked from network); 2 Dec 2005 03:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Dec 2005 03:01:52 -0000 Received: (qmail 60809 invoked by uid 500); 2 Dec 2005 03:01:40 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60794 invoked by uid 500); 2 Dec 2005 03:01:39 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 60783 invoked by uid 99); 2 Dec 2005 03:01:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 19:01:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 64.233.184.201 as permitted sender) Received: from [64.233.184.201] (HELO wproxy.gmail.com) (64.233.184.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 19:03:06 -0800 Received: by wproxy.gmail.com with SMTP id i7so14984wra for ; Thu, 01 Dec 2005 19:01:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lB/iez/w+mV/DucWBH4mun6degPjZjJytKSSFQqXnft1PX5vWnXn1WBrKYLEsjrtfrJy9DlmhWjIICKDyhDCldxy8rdKGliNQcLOa4NLvTy4HhMzfwhPP88sHtKcgeiqwYr1dlNb2M0OQlVnKBACK1dJdTwXjSvA8AsGtvUZ/T4= Received: by 10.65.189.16 with SMTP id r16mr1254951qbp; Thu, 01 Dec 2005 19:01:12 -0800 (PST) Received: by 10.65.11.16 with HTTP; Thu, 1 Dec 2005 19:01:12 -0800 (PST) Message-ID: Date: Thu, 1 Dec 2005 22:01:12 -0500 From: Joshua Slive To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Rewrite part of url X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/1/05, Don Cross wrote: > I am using linux 9.3 and apache 2.053. I have never used MOD_Rewrite > before, but I think it is the tool I need. I would like to rewrite part o= f a > url. Example: http://sample.com/new/item/03363rly???.htm > The ??? is the code for the item I would like to rewrite depending in the > directory the client is requesting. > The directory could be /brand _562 .I would like to replace the ??? in th= is > case with the code 562. > I have looked at the practical solutions but am still lost as to how I wo= uld > do it. Something like RewriteRule ^/brand_([0-9]{3})$ /new/item/03363rly$1.htm Joshua. --------------------------------------------------------------------- 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