我要求的网址是/abc/default.aspx 我想重写这个网址,如/abc/Company/default.aspx 这是我的代码
Dim CompanyName As String = "BSNL"
Dim URL_path As String = HttpContext.Current.Request.Path
If URL_path.Contains("/abc") Then
Context.RewritePath(URL_path.Replace("/abc/BSNL/default.aspx", "/abc"))
End If