iis 6 url rewrite without isapi

Wind Of Change

New Member
I need to configure a quick IIS redriect from \[code\]"....sitename.com/login.html/"\[/code\] to \[code\]"....sitename.com/login.html"\[/code\] without using isapi rewrite.I have tried adding the redirect in Application_BeginRequest.\[code\] void Application_BeginRequest(object sender, EventArgs e){ //To Redirect Bad-Url (login.html/) which i subscribed to uConnect.intel.com if (string.Compare(this.Request.Url.AbsolutePath, "login.html/", StringComparison.OrdinalIgnoreCase) != 0) { this.Response.Redirect("../login.html", true); }}\[/code\]But it is not being hit and custom 404 error page is shown.Could someone one help me if i can achieve this with some iis-property changes?
 
Back
Top