I have enabled routing on an ASP.NET web application with IIS 6.0 using
RouteTable.Routes.MapPageRoute ("Simple", "{testvalue" "," ~ / Test.aspx "); in Global.aspx.cs
This works fine when I use http://www.MyDomain.com/Hello , however when I use http://subdomain.mydomain.com instead of loading the customized default page (default.aspx), it tries to redirect the request and send to the login.aspx page, because we use forms authentication.
Any suggestions on enabling routing in the root directory ?.
source
share