<?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; FRT</title> <atom:link href="http://www.watch-life.net/tag/frt/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/maintain-scrollposition-after-post-back.html" title="web developer tips (75):PostBack后保持滚动条的位置 (2010-03-17)">web developer tips (75):PostBack后保持滚动条的位置</a> (1)</li><li><a
href="http://www.watch-life.net/visual-studio/absolute-position-the-controls-in-visual-studio-designer.html" title="web developer tips (50):在 Visual Studio 的设计视图绝对定位控件 (2009-09-23)">web developer tips (50):在 Visual Studio 的设计视图绝对定位控件</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/create-an-iis-virtual-directory-from-within-visual-web-developer.html" title="web developer tips (12):在Visual Web Developer里创建IIS虚拟目录 (2009-06-26)">web developer tips (12):在Visual Web Developer里创建IIS虚拟目录</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/quickly-comment-and-uncomment-in-your-web-pages.html" title="web developer tips (79):在web页面快速添加和取消注释 (2010-03-28)">web developer tips (79):在web页面快速添加和取消注释</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/register-your-ihttpmodule-depends-on-the-pipeline.html" title="web developer tips (43):通过请求处理管道注册IHttpModule (2009-09-06)">web developer tips (43):通过请求处理管道注册IHttpModule</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/add-intellisense-from-script-libraries-for-js-files.html" title="web developer tips (35):为js文件中的脚本库添加智能提示 (2009-08-14)">web developer tips (35):为js文件中的脚本库添加智能提示</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/how-to-select-the-css-schema-for-intellisense-and-css-properties.html" title="web developer tips (81):为css的智能提示和属性选择css的模式 (2010-03-28)">web developer tips (81):为css的智能提示和属性选择css的模式</a> (0)</li><li><a
href="http://www.watch-life.net/visual-studio/improve-performance-of-page-and-server-control-processing.html" title="web developer tips (22):提高页面和服务器控件加载速度 (2009-07-15)">web developer tips (22):提高页面和服务器控件加载速度</a> (0)</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:34:01 by W3 Total Cache -->