Getting the actual url

Topics: Developer Forum, User Forum
Jul 13, 2007 at 3:00 PM
Hi:
Using the IIRF, url rewriting works seamlessly.

I have a requirement. The asp.net application should able to retrieve the actual url the user has typed in the browser.

For eg. let say, there is a condition like
RewriteRule /estore.aspx /shop.aspx

Here when use Request.URL in a asp.net page, it is returning as shop.aspx whereas I need to retrieve the value as estore.aspx. How to do this.

Please help

Regards,
Swami
Coordinator
Jul 13, 2007 at 5:28 PM
Check the readme on the U modifier.
U = Store original url in server Variable HTTPXREWRITE_URL

Jul 14, 2007 at 5:43 AM
Edited Jul 14, 2007 at 5:43 AM

Cheeso wrote:
Check the readme on the U modifier.
U = Store original url in server Variable HTTPXREWRITE_URL



Hi Cheeso:
Great!!! It worked. Thanks a lot.

Regards,
Swami