Dear IIS experts,
I've been reading IIS.NET Forums for a while, now it's time for my first post. :) Hopefully someone can help me with my "little" rewrite problem.
I have asp.net site that is hosted on IIS 7 web server and I am using "friendlyURL" template to rewrite url's from article.aspx?ID=165 to /article/165.
Since my site uses forms authentication, by selecting the link for authentication, I will normally get this link: /login.aspx?ReturnUrl=%2farticles%2farticle.aspx%3fID%3d165
In rewritten scenario, 404 error occurs.
Now, there are some solutions for handling this by messing with the code, but I want to avoid that as I am not very skillful with programming. :(
I've also found thread about this problem, http://forums.asp.net/t/1241457.aspx?url+rewriting+and+returnUrl, where some user suggests to make a rule that excluds login.aspx from the URLRewriting?
Does anybody knows how to solve this?
Thanks!