IIS7下使用urlrewriter.dll配置
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                IIS7下使用urlrewriter.dll配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                <configuration>節點下添加
<configSections><section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" /> </configSections> <RewriterConfig><Rules><RewriterRule><LookFor>~/1.html</LookFor><SendTo>~/index.aspx</SendTo></RewriterRule><RewriterRule><LookFor>~/index.html</LookFor><SendTo>~/index.aspx</SendTo></RewriterRule></Rules> </RewriterConfig><system.web>節點下添加
<httpModules><add type="URLRewriter.ModuleRewriter,URLRewriter" name="ModuleRewriter" /> </httpModules><system.webServer>節點下添加
<handlers> <add name="all" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> <add name="HmlHandler" path="*.html" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> </handlers>?
轉載于:https://www.cnblogs.com/Kuleft/p/5328192.html
總結
以上是生活随笔為你收集整理的IIS7下使用urlrewriter.dll配置的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: WebAPI返回数据类型
- 下一篇: 字符串处理(POJ1782)
