1.先引用URLRewriter.dll2.将下列配置信息放置站点根目录下的web.config即可。<?xmlversion="1.0"?><configuration><configSections><sectionname="RewriterConfig"type="URLRewriter.Config.RewriterConfigSerializerSectionHandler,URLRewriter"/></configSections><RewriterConfig><Rules><RewriterRule><LookFor>~/default.html</LookFor><SendTo>~/default.aspx</SendTo></RewriterRule></Rules></RewriterConfig><system.web><httpModules><addtype="URLRewriter.ModuleRewriter,URLRewriter"name="ModuleRewriter"/><addname="ScriptModule"type="System.Web.Handlers.ScriptModule,System.Web.Extensions,Version=3.5.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web></configuration>