As of the latest .NET Service Pack (3.5 SP1, 3.0 SP2, 2.0 SP2) there is a new attribute for the <customErrors> element of your web.config, redirectMode . It has 2 settings, ResponseRedirect (default, legacy functionality), and ResponseRewrite (new...