dudeshouse
06-05-2009, 01:00 PM
Hi,
Firstly, I need to state I'm using and ISAPI rewrite on IIS, but I'm sure this is the right place to ask this question.
I've got my rewrites working correctly, but the issue I'm having is how to read in the browser URL, rather than the one being served.
I have checked against all the Server.Variables and it's not showing. I'm only getting the rewritten side of things.
To clarify, my rule does something like:
www.domain.com/make/model => /somewhere-else/item.asp
What I would then like to be able to do is read the "make" from the given URL.
Is this still possible or can you only read from the served URL, ie the right hand side of the above translation?
Any help would be greatly appreciated to help me avoid having to reconfigure how a site is working. This is supposed to be a simple work around!
Thanks.
Firstly, I need to state I'm using and ISAPI rewrite on IIS, but I'm sure this is the right place to ask this question.
I've got my rewrites working correctly, but the issue I'm having is how to read in the browser URL, rather than the one being served.
I have checked against all the Server.Variables and it's not showing. I'm only getting the rewritten side of things.
To clarify, my rule does something like:
www.domain.com/make/model => /somewhere-else/item.asp
What I would then like to be able to do is read the "make" from the given URL.
Is this still possible or can you only read from the served URL, ie the right hand side of the above translation?
Any help would be greatly appreciated to help me avoid having to reconfigure how a site is working. This is supposed to be a simple work around!
Thanks.