简体   繁体   中英

Redirecting to a page using IIS6

I have a site .net 2.0 and I redirected users to a login page when the hit the site. (I think the default.aspx page)

But i cant remember how i did it.

I am now wanting upgrade to asp.net mvc app but the redirect is still there to a nonexistent page.

Any ideas how to find the redirect?

Malcolm

Use WireShark Network Analyzer or Fiddler to find out what type of Redirect you have and the location that's redirecting.

You can then use IIS management console to see if there are any redirects in the site or virtual directory properties.

And finally check the source of the script that handles the request for Response.Redirect() or Server.Transfer() .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM