Click here to Skip to main content
15,912,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,

Merry Christmas!

I have a web application where I had two rules set in IIS
One if to hide aspx extension
And other is redirecting.aspx extension with patterns like

^(.*)$ --> rewrite  and ^(.*).aspx$ --> redirect 


respectively.

Now If I click on url/default.aspx, I get below error
C#
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.


But If I click on url/default, It works without any issues

I am confused of the Rule now, It should either work for Default.aspx or Default or default.

Could you please help me with this?
Posted
Updated 28-Dec-15 4:37am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900