Monday 15 February 2010

iis - Custom 404 error redirection Asp.net + iis6 -


I need a custom error 404 redirection. I have my web configured:

  & lt ; CustomErrors mode = "current" & gt; & Lt; Error status code = "404" redirect = "~ / errors / error 404.aspx" /> & Lt; / CustomErrors & gt;   

I will remove this page from /service/reservation.aspx and I would like it to be redirected to a / service when a customer visits this page. Will be /newreservation.aspx in another case will be redirected to /Errors/Error404.aspx . I am using IIS6 and want to install the IN extension (because I have around 60 servers)

How can I do this?

You can set URL rewrite module and set rules for it.



No comments:

Post a Comment