<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>守望轩 &#187; Failed Request Tracing</title> <atom:link href="http://www.watch-life.net/tag/failed-request-tracing/feed" rel="self" type="application/rss+xml" /><link>http://www.watch-life.net</link> <description>关注IT,审视自我,守望生活, 宁静雅致的小轩馆.</description> <lastBuildDate>Wed, 08 Sep 2010 16:03:38 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>web developer tips (38):如何用请求失败记录追踪重写规则</title><link>http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html</link> <comments>http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html#comments</comments> <pubDate>Thu, 27 Aug 2009 13:12:32 +0000</pubDate> <dc:creator>xjb</dc:creator> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[Failed Request Tracing]]></category> <category><![CDATA[FRT]]></category> <category><![CDATA[URL Rewrite]]></category> <category><![CDATA[web developer tips]]></category><guid
isPermaLink="false">http://www.watch-life.net/?p=437</guid> <description><![CDATA[原文地址：How to use Failed Request Tracing to trace Rewrite Rules。 IIS 7.0 请求失败跟踪(Failed Request Tracing (FRT)) 是功能强大的请求失败故障诊断工具。有感 FRT更多详细的内容，你可以查看：Troubleshooting Failed Requests Using Tracing in IIS 7.0 在你的网站一旦启动请求失败跟踪（FRT），执行如下操作就可以跟踪重写规则(rewrite rules): http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html 1、双击“Failed Request Tracing Rule”图标，打开FRT 规则列表。 2、单击“Add&#8230;‘,打开创建FRT的向导。 3、在第一个页面选择“All content (*)” 4、点击“next”在status code(s)项输入：200-399 5、点击“next”，在Providers 项选中“WWW Server”（其他不选中），在areas项选中“Rewrite”（其他不选中） 6、单击“Finish”保存FRT 规则。 FRT规则创建后，记录（log）文件将会在%SystemDrive%\inetpub\Logs\FaileReqLogFiles\ 目录下生成。你可以用IE浏览器打开日志文件。 注意：请求失败跟踪(Failed Request Tracing (FRT)) 是安装在Url 重写模块（Url rewrite module之后，那么“Rewrite” 区域无法使用，你可以在&#8221;添加/删除程序”来重新安装Url [...]]]></description> <content:encoded><![CDATA[<p>原文地址：<a
href="http://blogs.msdn.com/webdevelopertips/archive/2008/12/28/tip-38-did-you-know-how-to-use-failed-request-tracing-to-trace-rewrite-rules.aspx" target="_blank">How to use Failed Request Tracing to trace Rewrite Rules。</a></p><p>IIS 7.0 请求失败跟踪(Failed Request Tracing (FRT)) 是功能强大的请求失败故障诊断工具。有感 FRT更多详细的内容，你可以查看：<a
href="http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-70/" target="_blank">Troubleshooting Failed Requests Using Tracing in IIS 7.0</a></p><p>在你的网站一旦启动请求失败跟踪（FRT），执行如下操作就可以<a
href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" target="_blank">跟踪重写规则</a>(rewrite rules):<br
/> <a
href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" target="_blank">http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html</a></p><p><strong>1、双击“Failed Request Tracing Rule”图标，打开FRT 规则列表。</strong><br
/> <img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="443" alt="frt" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtouseFailedRequestTracingtotraceR_A70F/frt_thumb.png" width="544" border="0" /></p><p><strong>2、单击“Add&#8230;‘,打开创建FRT的向导。</strong><br
/> <img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="385" alt="frt1" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtouseFailedRequestTracingtotraceR_A70F/frt1_thumb.png" width="504" border="0" /></p><p><strong>3、在第一个页面选择“All content (*)”</strong></p><p><strong>4、点击“next”在status code(s)项输入：200-399</strong><br
/> <img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="385" alt="frt2" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtouseFailedRequestTracingtotraceR_A70F/frt2_thumb.png" width="504" border="0" /></p><p> <strong>5、点击“next”，在Providers 项选中“WWW Server”（其他不选中），在areas项选中“Rewrite”（其他不选中）</strong></p><p><img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="383" alt="frt3" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtouseFailedRequestTracingtotraceR_A70F/frt3_thumb.png" width="504" border="0" /></p><p><strong>6、单击“Finish”保存FRT 规则。</strong></p><p>FRT规则创建后，记录（log）文件将会在%SystemDrive%\inetpub\Logs\FaileReqLogFiles\ 目录下生成。你可以用IE浏览器打开日志文件。</p><p>注意：请求失败跟踪(Failed Request Tracing (FRT)) 是安装在Url 重写模块（Url rewrite module之后，那么“Rewrite” 区域无法使用，你可以在&#8221;添加/删除程序”来重新安装Url 重写模块。</p><p>有关请求失败记录追踪重写规则的更多内容，详见：<a
href="http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/" target="_blank">Using Failed Request Tracing to Trace Rewrite Rules</a></p><p
class="akst_link"></p><h4>你可能也会喜欢以下文章：</h4><ul
class="st-related-posts"><li><a
href="http://www.watch-life.net/visual-studio/powerful-css-tools-to-create-manage-and-apply-styles.html" title="web developer tips (1):创建、管理、应用样式表的强大工具 (2009-05-19)">web developer tips (1):创建、管理、应用样式表的强大工具</a> (2)</li><li><a
href="http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html" title="web developer tips (68):附加样式表到网页 (2009-11-26)">web developer tips (68):附加样式表到网页</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/add-and-remove-ajax-extenders-in-visual-studio-2008-designer.html" title="web developer tips (74):在 Visual Studio 2008设计器里添加或移除AJAX Extenders (2010-03-17)">web developer tips (74):在 Visual Studio 2008设计器里添加或移除AJAX Extenders</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html" title="web developer tips (65): 快速创建一个挂接SQL表的GridView (2009-11-19)">web developer tips (65): 快速创建一个挂接SQL表的GridView</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/ajax-extender-controls-ui-behaves-differently-in-vs-2008-than-in-vs-2005.html" title="web developer tips (30):在vs2008中Ajax Extender 控件UI与vs2005中差异 (2009-07-27)">web developer tips (30):在vs2008中Ajax Extender 控件UI与vs2005中差异</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/how-to-organize-usings.html" title="web developer tips (37):如何组织Using指令 (2009-08-24)">web developer tips (37):如何组织Using指令</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/deploying-your-asp-net-web-application-debug-false-should-be-set-in-web-config.html" title="web developer tips (52):部署Asp.net web应用须设置debug为false (2009-09-27)">web developer tips (52):部署Asp.net web应用须设置debug为false</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/view-the-project-file-while-still-in-visual-studio.html" title="web developer tips (44):如何在Visual Studio中查看项目文件 (2009-09-08)">web developer tips (44):如何在Visual Studio中查看项目文件</a> (2)</li></ul>转载请注明作者，出处，以及原始超链接。<br
/>评论数：0 | <b><a
href='http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a
href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a
href='http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html'>www.watch-life.net</a>]]></content:encoded> <wfw:commentRss>http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.watch-life.net @ 2010-09-09 11:26:14 by W3 Total Cache -->