IIS 6, using IIRF. I'm not sure if this would be a rewrite or a redirect. We've got a new site and need to 301 redirect old page to new and keep the query string value only. I need the following rewrite rule. This stuff is kind of hard to work with and I couldn't find any examples that match what I'm trying to do.
I need this to rewrite based on a specific URL:
subdomain.site.org/dir1/dir2/dir3/page.cfm?pc=1092
When this page is hit, I need it to rewrite to the following:
subdomain2.site.org/detail.aspx?id=1092
Notice that it doesn't pull the whole query string, just the value of it.