日期:2014-05-17 浏览次数:20581 次
<?xml version="1.0"?> <configuration> <configSections> <section name="ReplaceUrl" type="URLRewriter.Config.UrlsSection, URLRewriter"/> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <ReplaceUrl> <urls> <add virtualUrl="~/index.html" destinationUrl="~/index.aspx"/> <add virtualUrl="~/page/html/company.html" destinationUrl="~/page/html/company.aspx"/> <add virtualUrl="~/page/html/company(.+)\.html" destinationUrl="~/page/html/company.aspx?id=$1"/> <add virtualUrl="~/page/html/HR.html" destinationUrl="~/page/html/HR.aspx"/> <add virtualUrl="~/page/html/HR(.+)\.html" destinationUrl="~/page/html/HR.aspx?id=$1"/> <add virtualUrl="~/page/html/contact.html" destinationUrl="~/page/html/contact.aspx"/> <add virtualUrl="~/page/html/guestbook.html" destinationUrl="~/page/html/guestbook.aspx"/> <add virtualUrl="~/news/class/newslist.html" destinationUrl="~/news/class/newslist.aspx"/> <add virtualUrl="~/news/class/newslist(.+)\.html" destinationUrl="~/news/class/newslist.aspx?id=$1"/> <add virtualUrl="~/news/class/newscontent(.+)\.html" destinationUrl="~/news/class/newscontent.aspx?id=$1"/> <add virtualUrl="~/news/class/SolutionsList(.+)\.html" destinationUrl="~/news/class/Solutions