Hi,
I have an C# Web application which I use ScottGu's method (http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx) for url rewrting.
The issue I am facing is that I have a signin box in the master page and when my users are login to their accounts, I need to redirect them to login page. But instead, the rewrite url just refresh the page because of its rule.
the following url should go to the login page but it just reload the page:
http://localhost:42243/signin.aspx?ReturnURL=/services
and the rewrite rule is:
<rewrite url="services(\/)?([0-9]+)?(\/([0-9]+))?((\/([^?]*)(\?(.+))))?" to="~/srv_s.aspx?city=$2&cat=$4&$9"/>
Could you please help me?