Problem with subdirectory

Topics: Developer Forum
Sep 14, 2007 at 6:38 PM
Edited Sep 14, 2007 at 6:41 PM
Hi,

I'm try to convert from /shop/category/77/bouquet to "/shop/category.asp?id=77"} with these rules.
RewriteRule ^/shop+[^.?/]category/(\d+)/(\d+) /shop/category.asp?id=$1
or
RewriteRule ^/shop/category/(\d+)/(\d+) /shop/category.asp?id=$1

but not function :(
Idea?
Thanks

Davide
Sep 17, 2007 at 8:25 AM
Edited Sep 17, 2007 at 8:30 AM
I Find the solution :)
RewriteRule ^/shop/category/(\d+)/(\w+)/$ /shop/category.asp?id=$1

I'm beginner with reg exp :)