• 伪静态配置


     15与241

      1 <?xml version="1.0"?>
      2 <configuration>
      3   <configSections>
      4     <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      5       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      6         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
      7         <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      8           <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
      9           <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
     10           <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
     11           <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
     12         </sectionGroup>
     13       </sectionGroup>
     14     </sectionGroup>
     15     <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
     16   </configSections>
     17   <RewriterConfig>
     18     <Rules>
     19       <!--首页-->
     20       <RewriterRule>
     21         <LookFor>~/index.html</LookFor>
     22         <SendTo>~/index.aspx</SendTo>
     23       </RewriterRule>
     24       <!--产品中心-->
     25       <RewriterRule>
     26         <LookFor>~/product/index_(d{0,50}).html</LookFor>
     27         <SendTo>~/product/index.aspx?nodecode=$1</SendTo>
     28       </RewriterRule>
     29       <RewriterRule>
     30         <LookFor>~/product/detial_(d{0,50})_(d{0,50}).html</LookFor>
     31         <SendTo>~/product/detial.aspx?id=$1&amp;nodecode=$2</SendTo>
     32       </RewriterRule>
     33       <!--解决方案-->
     34       <RewriterRule>
     35         <LookFor>~/solution/index_(d{0,50}).html</LookFor>
     36         <SendTo>~/solution/index.aspx?nodecode=$1</SendTo>
     37       </RewriterRule>
     38       <RewriterRule>
     39         <LookFor>~/solution/detial_(d{0,50})_(d{0,50}).html</LookFor>
     40         <SendTo>~/solution/detial.aspx?id=$1&amp;nodecode=$2</SendTo>
     41       </RewriterRule>
     42       <!--经典案例-->
     43       <RewriterRule>
     44         <LookFor>~/case/index_(d{0,50}).html</LookFor>
     45         <SendTo>~/case/index.aspx?nodecode=$1</SendTo>
     46       </RewriterRule>
     47       <RewriterRule>
     48         <LookFor>~/case/list_(d{0,50}).html</LookFor>
     49         <SendTo>~/case/list.aspx?nodecode=$1</SendTo>
     50       </RewriterRule>
     51       <RewriterRule>
     52         <LookFor>~/case/alllist_(d{0,50}).html</LookFor>
     53         <SendTo>~/case/alllist.aspx?nodecode=$1</SendTo>
     54       </RewriterRule>
     55       <RewriterRule>
     56         <LookFor>~/case/alllist_(d{0,50})_(d{0,50}).html</LookFor>
     57         <SendTo>~/case/alllist.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
     58       </RewriterRule>
     59       <RewriterRule>
     60         <LookFor>~/case/detial_(d{0,50})_(d{0,50}).html</LookFor>
     61         <SendTo>~/case/detial.aspx?id=$1&amp;nodecode=$2</SendTo>
     62       </RewriterRule>
     63       <!--行业百宝箱-->
     64       <RewriterRule>
     65         <LookFor>~/news/list_(d{0,50}).html</LookFor>
     66         <SendTo>~/news/list.aspx?nodecode=$1</SendTo>
     67       </RewriterRule>
     68       <RewriterRule>
     69         <LookFor>~/news/list_(d{0,50})_(d{0,50}).html</LookFor>
     70         <SendTo>~/news/list.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
     71       </RewriterRule>
     72       <RewriterRule>
     73         <LookFor>~/news/detial_(d{0,50})_(d{0,50}).html</LookFor>
     74         <SendTo>~/news/detial.aspx?id=$1&amp;nodecode=$2</SendTo>
     75       </RewriterRule>
     76       <RewriterRule>
     77         <LookFor>~/news/ziyuan_(d{0,50}).html</LookFor>
     78         <SendTo>~/news/ziyuan.aspx?nodecode=$1</SendTo>
     79       </RewriterRule>
     80       <RewriterRule>
     81         <LookFor>~/news/ziyuan_(d{0,50})_(d{0,50}).html</LookFor>
     82         <SendTo>~/news/ziyuan.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
     83       </RewriterRule>
     84       <RewriterRule>
     85         <LookFor>~/news/jishu_(d{0,50}).html</LookFor>
     86         <SendTo>~/news/jishu.aspx?nodecode=$1</SendTo>
     87       </RewriterRule>
     88       <RewriterRule>
     89         <LookFor>~/news/jishu_(d{0,50})_(d{0,50}).html</LookFor>
     90         <SendTo>~/news/jishu.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
     91       </RewriterRule>
     92       <RewriterRule>
     93         <LookFor>~/news/yanjiu_(d{0,50}).html</LookFor>
     94         <SendTo>~/news/yanjiu.aspx?nodecode=$1</SendTo>
     95       </RewriterRule>
     96       <RewriterRule>
     97         <LookFor>~/news/yanjiu_(d{0,50})_(d{0,50}).html</LookFor>
     98         <SendTo>~/news/yanjiu.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
     99       </RewriterRule>
    100       <RewriterRule>
    101         <LookFor>~/about/content_(d{0,20}).html</LookFor>
    102         <SendTo>~/about/content.aspx?nodecode=$1</SendTo>
    103       </RewriterRule>
    104       <RewriterRule>
    105         <LookFor>~/news/download_(d{0,50}).html</LookFor>
    106         <SendTo>~/news/download.aspx?nodecode=$1</SendTo>
    107       </RewriterRule>
    108       <RewriterRule>
    109         <LookFor>~/news/download_(d{0,50})_(d{0,50}).html</LookFor>
    110         <SendTo>~/news/download.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
    111       </RewriterRule>
    112       <!--关于燕浩-->
    113       <RewriterRule>
    114         <LookFor>~/about/content_(d{0,50}).html</LookFor>
    115         <SendTo>~/about/content.aspx?nodecode=$1</SendTo>
    116       </RewriterRule>
    117       <RewriterRule>
    118         <LookFor>~/about/sitemap.html</LookFor>
    119         <SendTo>~/about/sitemap.aspx</SendTo>
    120       </RewriterRule>
    121       <RewriterRule>
    122         <LookFor>~/about/zizhi_(d{0,50}).html</LookFor>
    123         <SendTo>~/about/zizhi.aspx?nodecode=$1</SendTo>
    124       </RewriterRule>
    125       <!--合作加盟-->
    126       <RewriterRule>
    127         <LookFor>~/join/list_(d{0,50}).html</LookFor>
    128         <SendTo>~/join/list.aspx?nodecode=$1</SendTo>
    129       </RewriterRule>
    130       <RewriterRule>
    131         <LookFor>~/join/list_(d{0,50})_(d{0,50}).html</LookFor>
    132         <SendTo>~/join/list.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
    133       </RewriterRule>
    134       <RewriterRule>
    135         <LookFor>~/join/detial_(d{0,50})_(d{0,50}).html</LookFor>
    136         <SendTo>~/join/detial.aspx?id=$1&amp;nodecode=$2</SendTo>
    137       </RewriterRule>
    138       <RewriterRule>
    139         <LookFor>~/join/joinin_(d{0,50}).html</LookFor>
    140         <SendTo>~/join/joinin.aspx?id=$1</SendTo>
    141       </RewriterRule>
    142       <!--联系我们-->
    143       <RewriterRule>
    144         <LookFor>~/contact/list_(d{0,50}).html</LookFor>
    145         <SendTo>~/contact/list.aspx?nodecode=$1</SendTo>
    146       </RewriterRule>
    147       <RewriterRule>
    148         <LookFor>~/contact/list_(d{0,50})_(d{0,50}).html</LookFor>
    149         <SendTo>~/contact/list.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
    150       </RewriterRule>
    151       <RewriterRule>
    152         <LookFor>~/contact/feedback_(d{0,50}).html</LookFor>
    153         <SendTo>~/contact/feedback.aspx?nodecode=$1</SendTo>
    154       </RewriterRule>
    155       <RewriterRule>
    156         <LookFor>~/contact/feedback_(d{0,50})_(d{0,50}).html</LookFor>
    157         <SendTo>~/contact/feedback.aspx?nodecode=$1&amp;pageindex=$2</SendTo>
    158       </RewriterRule>
    159       <!--登陆注册-->
    160       <RewriterRule>
    161         <LookFor>~/relog/register.html</LookFor>
    162         <SendTo>~/relog/register.aspx</SendTo>
    163       </RewriterRule>
    164       <RewriterRule>
    165         <LookFor>~/relog/login.html</LookFor>
    166         <SendTo>~/relog/login.aspx</SendTo>
    167       </RewriterRule>
    168     </Rules>
    169   </RewriterConfig>
    170   <appSettings>
    171     <!--数据库操作层-->
    172     <add key="WebDAL" value="KingTop.SQLServer" />
    173     <add key="SuperUser" value="admin" />
    174     <add key="SuperUserPassword" value="00-F7-67-87-08-AA-4C-78-DC-FE-3A-0A-6B-8B-11-3B" />
    175     <add key="mySelfone" value="86-D3-B0-3A-4C-F0-30-8A-F1-17-04-2D-33-0C-0D-60"/>
    176     <add key="RecCountOfPage" value="2" />
    177     <add key="IsSetCollectionDataDirInner" value="0" />
    178     <add key="IsCollectionDataCascadeDel" value="false" />
    179     <add key="DataManagePassword" value="67-0B-14-72-8A-D9-90-2A-EC-BA-32-E2-2F-A4-F6-BD" />
    180     <add value="exec|insert|delete|update|chr|mid|master|truncate|script|declare|cast|drop|0x" key="SQLInject" />
    181   </appSettings>
    182   <connectionStrings>
    183     <add name="SQLConnString1" connectionString="server=218.16.118.132,1443;database=sz_demo_yanhao2012824;uid=chenqr;pwd=toprand2010" />
    184   </connectionStrings>
    185   <system.web>
    186     <!--  
    187             设置 compilation debug="true" 可将调试符号插入  
    188             已编译的页面中。但由于这会   
    189             影响性能,因此只在开发过程中将此值   
    190             设置为 true。  
    191         -->
    192     <compilation debug="true">
    193       <assemblies>
    194         <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    195         <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    196         <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    197         <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    198         <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    199         <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    200         <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    201         <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    202       </assemblies>
    203     </compilation>
    204     <!--
    205             通过 <authentication> 节可以配置 ASP.NET 用来 
    206             识别进入用户的
    207             安全身份验证模式。 
    208         -->
    209     <authentication mode="Windows" />
    210     <!--
    211             如果在执行请求的过程中出现未处理的错误,
    212             则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
    213             开发人员通过该节可以配置
    214             要显示的 html 错误页
    215 
    216             以代替错误堆栈跟踪。
    217 
    218 <customErrors mode="Off"/>
    219        
    220         -->
    221     <customErrors mode="RemoteOnly" defaultRedirect="/errorpage.aspx">
    222       <error statusCode="403" redirect="/errorpage.aspx" />
    223       <error statusCode="404" redirect="/errorpage.aspx" />
    224     </customErrors>
    225     <pages validateRequest="false">
    226       <controls>
    227         <!-- 分页控件注册 -->
    228         <add tagPrefix="webdiyer" namespace="Wuqi.Webdiyer" assembly="AspNetPager" />
    229         <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    230         <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    231       </controls>
    232     </pages>
    233     <httpHandlers>
    234       <remove verb="*" path="*.asmx" />
    235       <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    236       <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    237       <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    238     </httpHandlers>
    239     <httpModules>
    240       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    241       <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
    242     </httpModules>
    243     <!--为当前应用程序配置会话状态设置。-->
    244     <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="3600">
    245     </sessionState>
    246     <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="zh-CN" uiCulture="zh-CN" />
    247   </system.web>
    248   <system.codedom>
    249     <compilers>
    250       <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    251         <providerOption name="CompilerVersion" value="v3.5" />
    252         <providerOption name="WarnAsError" value="false" />
    253       </compiler>
    254     </compilers>
    255   </system.codedom>
    256   <!-- 
    257         在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
    258         节。对早期版本的 IIS 来说则不需要此节。
    259 
    260     -->
    261   <system.webServer>
    262     <rewrite>
    263       <rules>
    264         <!--首页-->
    265         <rule name="rule1" stopProcessing="true">
    266           <match url="^index.html" />
    267           <action type="Rewrite" url="/index.aspx" />
    268         </rule>
    269         <!--产品中心-->
    270         <rule name="rule2" stopProcessing="true">
    271           <match url="^product/index_([0-9]+).html" />
    272           <action type="Rewrite" url="/product/index.aspx?nodecode={R:1}" />
    273         </rule>
    274         <rule name="rule3" stopProcessing="true">
    275           <match url="^product/detial_([0-9]+)_([_0-9a-z-]+).html" />
    276           <action type="Rewrite" url="/product/detial.aspx?id={R:1}&amp;nodecode={R:2}" />
    277         </rule>
    278         <!--解决方案-->
    279         <rule name="rule4" stopProcessing="true">
    280           <match url="^solution/index_([0-9]+).html" />
    281           <action type="Rewrite" url="/solution/index.aspx?nodecode={R:1}" />
    282         </rule>
    283         <rule name="rule5" stopProcessing="true">
    284           <match url="^solution/detial_([0-9]+)_([_0-9a-z-]+).html" />
    285           <action type="Rewrite" url="/solution/detial.aspx?id={R:1}&amp;nodecode={R:2}" />
    286         </rule>
    287         <!--经典案例-->
    288         <rule name="rule6" stopProcessing="true">
    289           <match url="^case/index_([0-9]+).html" />
    290           <action type="Rewrite" url="/case/index.aspx?nodecode={R:1}" />
    291         </rule>
    292         <rule name="rule7" stopProcessing="true">
    293           <match url="^case/list_([0-9]+).html" />
    294           <action type="Rewrite" url="/case/list.aspx?nodecode={R:1}" />
    295         </rule>
    296         <rule name="rule8" stopProcessing="true">
    297           <match url="^case/alllist_([0-9]+).html" />
    298           <action type="Rewrite" url="/case/alllist.aspx?nodecode={R:1}" />
    299         </rule>
    300         <rule name="rule9" stopProcessing="true">
    301           <match url="^case/detial_([0-9]+)_([_0-9a-z-]+).html" />
    302           <action type="Rewrite" url="/case/detial.aspx?id={R:1}&amp;nodecode={R:2}" />
    303         </rule>
    304         <!--行业百宝箱-->
    305         <rule name="rule10" stopProcessing="true">
    306           <match url="^news/list_([0-9]+).html" />
    307           <action type="Rewrite" url="/news/list.aspx?nodecode={R:1}" />
    308         </rule>
    309         <rule name="rule11" stopProcessing="true">
    310           <match url="^news/detial_([0-9]+)_([_0-9a-z-]+).html" />
    311           <action type="Rewrite" url="/news/detial.aspx?id={R:1}&amp;nodecode={R:2}" />
    312         </rule>
    313         <rule name="rule12" stopProcessing="true">
    314           <match url="^news/ziyuan_([0-9]+).html" />
    315           <action type="Rewrite" url="/news/ziyuan.aspx?nodecode={R:1}" />
    316         </rule>
    317         <rule name="rule13" stopProcessing="true">
    318           <match url="^news/jishu_([0-9]+).html" />
    319           <action type="Rewrite" url="/news/jishu.aspx?nodecode={R:1}" />
    320         </rule>
    321         <rule name="rule14" stopProcessing="true">
    322           <match url="^news/yanjiu_([0-9]+).html" />
    323           <action type="Rewrite" url="/news/yanjiu.aspx?nodecode={R:1}" />
    324         </rule>
    325         <rule name="rule15" stopProcessing="true">
    326           <match url="^about/content_([0-9]+).html" />
    327           <action type="Rewrite" url="/about/content.aspx?nodecode={R:1}" />
    328         </rule>
    329         <rule name="rule16" stopProcessing="true">
    330           <match url="^news/download_([0-9]+).html" />
    331           <action type="Rewrite" url="/news/download.aspx?nodecode={R:1}" />
    332         </rule>
    333         <rule name="rule17" stopProcessing="true">
    334           <match url="^news/download_([0-9]+)_([0-9]+).html" />
    335           <action type="Rewrite" url="/news/download.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    336         </rule>
    337         <!--关于燕浩-->
    338         <rule name="rule18" stopProcessing="true">
    339           <match url="^about/content_([0-9]+).html" />
    340           <action type="Rewrite" url="/about/content.aspx?nodecode={R:1}" />
    341         </rule>
    342         <rule name="rule19" stopProcessing="true">
    343           <match url="^about/sitemap.html" />
    344           <action type="Rewrite" url="/about/sitemap.aspx" />
    345         </rule>
    346         <rule name="rule20" stopProcessing="true">
    347           <match url="^about/zizhi_([0-9]+).html" />
    348           <action type="Rewrite" url="/about/zizhi.aspx?nodecode={R:1}" />
    349         </rule>
    350         <rule name="rule21" stopProcessing="true">
    351           <match url="^about/zizhi_([0-9]+)_([0-9]+).html" />
    352           <action type="Rewrite" url="/about/zizhi.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    353         </rule>
    354         <!--合作加盟-->
    355         <rule name="rule22" stopProcessing="true">
    356           <match url="^join/list_([0-9]+).html" />
    357           <action type="Rewrite" url="/join/list.aspx?nodecode={R:1}" />
    358         </rule>
    359         <rule name="rule23" stopProcessing="true">
    360           <match url="^join/detial_([0-9]+)_([_0-9a-z-]+).html" />
    361           <action type="Rewrite" url="/join/detial.aspx?id={R:1}&amp;nodecode={R:2}" />
    362         </rule>
    363         <rule name="rule24" stopProcessing="true">
    364           <match url="^join/joinin_([0-9]+).html" />
    365           <action type="Rewrite" url="/join/joinin.aspx?id={R:1}" />
    366         </rule>
    367         <!--联系我们-->
    368         <rule name="rule25" stopProcessing="true">
    369           <match url="^contact/list_([0-9]+).html" />
    370           <action type="Rewrite" url="/contact/list.aspx?nodecode={R:1}" />
    371         </rule>
    372         <rule name="rule26" stopProcessing="true">
    373           <match url="^contact/feedback_([0-9]+).html" />
    374           <action type="Rewrite" url="/contact/feedback.aspx?nodecode={R:1}" />
    375         </rule>
    376         <!--登陆注册-->
    377         <rule name="rule27" stopProcessing="true">
    378           <match url="^relog/register.html" />
    379           <action type="Rewrite" url="/relog/register.aspx" />
    380         </rule>
    381         <rule name="rule28" stopProcessing="true">
    382           <match url="^relog/login.html" />
    383           <action type="Rewrite" url="/relog/login.aspx" />
    384         </rule>
    385         <rule name="rule29" stopProcessing="true">
    386           <match url="^case/alllist_([0-9]+)_([0-9]+).html" />
    387           <action type="Rewrite" url="/case/alllist.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    388         </rule>
    389         <rule name="rule30" stopProcessing="true">
    390           <match url="^case/list_([0-9]+)_([0-9]+).html" />
    391           <action type="Rewrite" url="/case/list.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    392         </rule>
    393         <rule name="rule31" stopProcessing="true">
    394           <match url="^news/list_([0-9]+)_([0-9]+).html" />
    395           <action type="Rewrite" url="/news/list.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    396         </rule>
    397         <rule name="rule32" stopProcessing="true">
    398           <match url="^contact/list_([0-9]+)_([0-9]+).html" />
    399           <action type="Rewrite" url="/contact/list.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    400         </rule>   
    401     <rule name="rule33" stopProcessing="true">
    402           <match url="^contact/feedback_([0-9]+)_([0-9]+).html" />
    403           <action type="Rewrite" url="/contact/feedback.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    404         </rule>
    405         <rule name="rule34" stopProcessing="true">
    406           <match url="^news/ziyuan_([0-9]+)_([0-9]+).html" />
    407           <action type="Rewrite" url="/news/ziyuan.aspx?nodecode={R:1}&amp;pageindex={R:2}" />
    408         </rule>
    409       </rules>
    410     </rewrite>
    411     <validation validateIntegratedModeConfiguration="false" />
    412     <modules>
    413       <remove name="ScriptModule" />
    414       <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    415       <!--<remove name="Session" />
    416       <add name="HtmlSession" type="System.Web.SessionState.SessionStateModule"/>-->
    417     </modules>
    418     <handlers>
    419       <remove name="WebServiceHandlerFactory-Integrated" />
    420       <remove name="ScriptHandlerFactory" />
    421       <remove name="ScriptHandlerFactoryAppServices" />
    422       <remove name="ScriptResource" />
    423       <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    424       <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    425       <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    426     </handlers>
    427   </system.webServer>
    428   <runtime>
    429     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    430       <dependentAssembly>
    431         <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    432         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
    433       </dependentAssembly>
    434       <dependentAssembly>
    435         <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    436         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
    437       </dependentAssembly>
    438     </assemblyBinding>
    439   </runtime>
    440 </configuration>
    View Code
  • 相关阅读:
    一个日志框架的开源,有些不错的创意。
    发现vs2005一个bug!庆祝一下!
    (新手文)偶说说什么是IoC (反向注入、依赖注入)
    数据库移植到sql server遇到的问题。
    Pixysoft.Framework.Configuration 开发实录
    Pixysoft.Framework.Noebe.Json 开发实录
    介绍一下我设计的工作流引擎,欢迎拍砖仍鸡蛋
    用mysql相当多问题。不是说开源不好,可是拜托,争争气吧
    设计之路——我的成果小报告
    黑客攻击:20090921 23:41:17:171
  • 原文地址:https://www.cnblogs.com/2013likong/p/3450452.html
Copyright © 2020-2023  润新知