URL rewrite with query string

Jul 6, 2008 at 6:43 AM
Hi!
I am totaly new to this thing

I want to rewrite

/product/family9.html


/product.cfm?family=9

I try this
RewriteRule ^/product/family(\d+)\.html$ /product.cfm?family=$1

It could not seem to works

Please help

Thanks so much


Coordinator
Jul 6, 2008 at 4:13 PM
Did you try the testdriver.exe?  What did you find?
It works for me. 

c:\dinoch\dev\ISAPI\IIRF>Source\TestDriver.exe  -d TossOff-Tests\Davie
Trying to read config at 'TossOff-Tests\Davie\IsapiRewrite4.ini'
done reading new config
Processing URLs...(TossOff-Tests\Davie\SampleUrls.txt)


REWRITE '/product/family9.html' ==> '/product.cfm?family=9'
OK

0 Errors in 1 Total Trials

What's in the IIRF log file? what version are you using?