I use the Iconic IIRF URL rewrite mechanism in IIS, and the "fancy" URLs look something like this:
http:
This sample URL matches:
http:
Now inside the some-function.asp file, I need to know the page requested by the browser. I went through all the IIS variables, but could not find the value /some-function/418/some-keyword-rich-filename.htmlinside any of them.
As an additional note, I need this information to send 301 redirects to browsers. For instance. if the browser asks:
http:
First I need to send to the browser:
http:
And that is why I need the original url for comparison.