Not sure what problem you're having. Try replacing "(.+)" with "(.*)" Or, even better, use ([a-zA-Z0-9_-]*) instead. Is there a folder named "up"? If so, the .htaccess file and the file named "products.php" should not the there to work with this script. They should both be in the root according the the code you sent. On Wed, Feb 25, 2009 at 8:38 AM, Joe Forsythe <jforsythe@xxxxxxxxxxxxxxxxxx>wrote: > What does "it doesn't work" mean? Are you getting any errors? > -- > Joe > > On Feb 24, 2009, at 10:50 PM, Muhammad Sohail Khan wrote: > > > Hi Brothers, > > > > I have problem of URL ReWriting on my system using PHP. I study > > different tutorial about URL ReWriting and it says that it works but > > it not work on my system. > > > > the mode_rewrite module is also activated. > > > > For Example i Put this rewriting rules in my .htaccess file > > > > Options +FollowSymlinks > > RewriteEngine on > > RewriteRule ^up/(.+)/(.+).tar.gzip products.php?name=$1&age=$2 [nc] > > > > but it doesn't work. > > > > please give me any suggestion for that. > > > > I use the latest WAMP server. > > > > Thanks in advance. > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]