On 12/1/05, Don Cross <[EMAIL PROTECTED]> 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 of 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 this
> case with the code 562.
> I have looked at the practical solutions but am still lost as to how I would
> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to