My regex expression for isapi rewrite here isn't passing variables in the URL
Trying to pass a variables like: www.domain.com/z34232/ProductName.html?ref=magic
But the code is ignoring the "ref=magic" string
RewriteRule .*z([[:digit:]]*)\/.*.html\??(.*) /product.asp\?pnum=$1(?2&$2&:) [I,O,L]
Any suggestions would be extremely helpful. I need to keep the rest of the string intact.