I need to custom error 404 redirection. My webconfig is:
<customErrors mode="On">
<error statusCode="404" redirect="~/Errors/Error404.aspx" />
</customErrors>
I will delete this page /service/reservation.aspx
and i would like when a client go to this page it will be redirected to /service/newreservation.aspx
an in other case will be redirected to /Errors/Error404.aspx
.
I'm using IIS6 and wouldn' like to install any iis extension (because i have about 60 server)
How can do this please?