Global.aspx.cs: protected void Application_BeginRequest(Object sender, EventArgs e) } ReWriter.config ,配制文件 <?xml version="1.0" encoding="utf-8" ?><ReWriterUrls> <rule> <old>(.*)/TestUrlRe/file(.*)/(.*).html</old> <new>../WebForm1.aspx?id=$2&type=$3</new> </rule> <rule> <old>(.*)/TestUrlRe/t(.*)/(.*).html</old> <new>../WebForm1.aspx?tid=$2&ttype=$3</new> </rule></ReWriterUrls> 相关文章: 2021-10-20 2022-12-23 2022-12-23 2021-07-09