I'm currently migrating servers from iis6 to iis7.5 and on ii6 we used to have an isapi plugin that did this for us, but I'm trying to get it done using microsofts IIS URL REWRITE extension - however, I'm struggling with the regular expression needed.
Basically we have a site that runs and it converts the first / after the file extension (.asp) to ? and all subsequent forward slashes to &, it also changes _ to =
so a url of someurl.com/gig.asp/venue_101/gig_1011/from_20131001/to_20131002
would actually be someurl.com/gig.asp?venue=101&gig=1011&from=20131001&to=20131002
How would I write this rule as a regular expression? My mind is boggled.
if you could write a little about what is doing what in order that I might understand it I would thoroughly appreciate it as its confusing the crap out of me.
Thanks in advance for any help. Just so as you know I have looked into this on the web before asking, but its a bit overwhelming jumping in at the deep end