<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'ISAPI_REWRITE'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ISAPI_REWRITE&amp;orTags=0</link><description>Search results matching tag 'ISAPI_REWRITE'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS 7 URL Rewrite Help needed</title><link>http://forums.iis.net/p/1157858/1904631.aspx#1904631</link><pubDate>Sun, 24 May 2009 10:37:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904631</guid><dc:creator>fiaz110</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am new to IIS 7. Previously I have done the URL Rewriting using Helicon Tech&amp;#39;s ISAPI Rewrite and IONIC ISAPI Rewrite Filter. The url and its rewrite is written below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/tree-service/austin/&lt;/strong&gt; should be written to &lt;strong&gt;/request.asp?city=austin&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If anybody can provide me the complete sample web.config then I will be extremely greateful to you.&lt;/p&gt;
&lt;p&gt;Thanking in advance,&lt;br /&gt;Fiaz&lt;/p&gt;</description></item><item><title>Seeing rewritten URI in status</title><link>http://forums.iis.net/p/1154111/1889007.aspx#1889007</link><pubDate>Mon, 05 Jan 2009 10:27:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889007</guid><dc:creator>DarkMaster</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Perhaps a dumb/newbie question but still - just how do I get the rewrite module to display already rewritten URI in browser status eg. when you go over the link, in the status bar (bottom of the browser) to display rewritten URL - not just after the URL has been visited already and rewritten after that - I mean I see this all the time on your pages too - I somewhat doubt that you have modified all your .NET code to output manually rewritten links - or did you?&lt;/p&gt;
&lt;p&gt;I know to have this effect in some test scenarios with ISAPI_REWRITE - it did that with using rewrite maps in both directions (rewrite/redirect) and the mouse-over-links got rewritten before I actually clicked one.&lt;/p&gt;
&lt;p&gt;So my question - is this doable with new (and extremely great) URL Rewrite engine for IIS? Or am I to go modify the ASP code to output the actual rewritten links and then just apply the rules to redirect? OR am I missing something very obvious (like I already did in the past *LOL*)?&lt;/p&gt;
&lt;p&gt;Thank you in advance for answer/suggestions!&lt;/p&gt;</description></item><item><title>Difference between Integrated and Classic mode</title><link>http://forums.iis.net/p/1153967/1888361.aspx#1888361</link><pubDate>Thu, 25 Dec 2008 14:21:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888361</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Intelligencia.UrlRewriter on IIS7.0.&lt;/p&gt;
&lt;p&gt;After countless tries configuring my Web.Config, I&amp;#39;ve not been able to get it to work. It keeps redirecting/rewriting to wrong URL, and I get 404 error.&lt;/p&gt;
&lt;p&gt;So, I changed mode to Classic, and it works!!&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the difference between Classic and Integrated mode?&lt;br /&gt;And what&amp;#39;s the impact of my ASP.NET 3.5 website/application using the Classic mode?&lt;/p&gt;
&lt;p&gt;Greatly appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: (Intelligencia.UrlRewriter) IIS7 not redirecting URL</title><link>http://forums.iis.net/p/1153846/1888359.aspx#1888359</link><pubDate>Thu, 25 Dec 2008 13:56:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888359</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi dgdev,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve changed my IIS mode from Integrated to Classic, and it works.&lt;/p&gt;
&lt;p&gt;I was hesitant in doing this, because I&amp;#39;m not sure the impact in classic mode to my ASP.NET 3.5 website and applications.&lt;/p&gt;
&lt;p&gt;Can you please advise what&amp;#39;s the difference between Integrated and Classic mode?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: (Intelligencia.UrlRewriter) IIS7 not redirecting URL</title><link>http://forums.iis.net/p/1153846/1888265.aspx#1888265</link><pubDate>Tue, 23 Dec 2008 16:50:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888265</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi dgdev,&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Here&amp;#39;s my updated web.confg:&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#ff6600;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;"&gt;&amp;lt;rewriter&amp;gt;&lt;br /&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;rewrite url=&amp;quot;^(/.*(\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|\.axd)(\?.*)?)$&amp;quot; to=&amp;quot;$1&amp;quot; processing=&amp;quot;stop&amp;quot; /&amp;gt;&lt;br /&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;rewrite url=&amp;quot;^~/Test1/?(.*)$&amp;quot; to=&amp;quot;~/TestUrlRewrite.aspx?PageContentUrl=Test1/$1&amp;quot; processing=&amp;quot;stop&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;rewrite url=&amp;quot;^~/AboutUs$&amp;quot; to=&amp;quot;~/Pages/Default.aspx?PageContentUrl=AboutUs&amp;quot; processing=&amp;quot;stop&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&lt;br /&gt;&amp;lt;/rewriter&amp;gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;It’s still rewriting to the previous URLs:&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;The rewrite:&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;u&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;a href="http://localhost/App/test1/"&gt;http://localhost/App/test1/&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/&lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;lRewrite.aspx&lt;/span&gt;&lt;/strong&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;a href="http://localhost/App/test1/1"&gt;http://localhost/App/test1/1&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/1/&lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Rewrite.aspx&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://localhost/App/test1/12"&gt;http://localhost/App/test1/12&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/12/&lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;ewrite.aspx&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://localhost/App/test1/12345"&gt;http://localhost/App/test1/12345&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/12345/&lt;strong&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;ite.aspx&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;u&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Answering your questions:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;1. What&amp;#39;s your IIS setup: Classic or Integrated?&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;·&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Arial;"&gt;Integrated.&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;·&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Arial;"&gt;Would you recommend the Classic mode?&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;2. Have you modified any code the UrlRewriter? &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;·&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Arial;"&gt;No, I’ve not.&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: (Intelligencia.UrlRewriter) IIS7 not redirecting URL</title><link>http://forums.iis.net/p/1153846/1888130.aspx#1888130</link><pubDate>Sun, 21 Dec 2008 14:11:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888130</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi dgdev,&lt;/p&gt;
&lt;p&gt;Thanks for the note.&lt;br /&gt;I did&amp;nbsp;what you suggested, and it&amp;#39;s&amp;nbsp;still not working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Here&amp;#39;s my web.config:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;modules runAllManagedModulesForAllRequests=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name=&amp;quot;ScriptModule&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ScriptModule&amp;quot; preCondition=&amp;quot;managedHandler&amp;quot; type=&amp;quot;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;UrlRewriter&amp;quot; type=&amp;quot;Intelligencia.UrlRewriter.RewriterHttpModule&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/modules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;validation validateIntegratedModeConfiguration=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;handlers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name=&amp;quot;ScriptHandlerFactory&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name=&amp;quot;ScriptHandlerFactoryAppServices&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name=&amp;quot;ScriptResource&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name=&amp;quot;WebServiceHandlerFactory-Integrated&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ScriptHandlerFactory&amp;quot; verb=&amp;quot;*&amp;quot; path=&amp;quot;*.asmx&amp;quot; preCondition=&amp;quot;integratedMode&amp;quot; type=&amp;quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ScriptHandlerFactoryAppServices&amp;quot; verb=&amp;quot;*&amp;quot; path=&amp;quot;*_AppService.axd&amp;quot; preCondition=&amp;quot;integratedMode&amp;quot; type=&amp;quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ScriptResource&amp;quot; preCondition=&amp;quot;integratedMode&amp;quot; verb=&amp;quot;GET,HEAD&amp;quot; path=&amp;quot;ScriptResource.axd&amp;quot; type=&amp;quot;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ASP.NET-ISAPI-2.0-Wildcard&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path=&amp;quot;*&amp;quot; verb=&amp;quot;GET,HEAD,POST,DEBUG&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modules=&amp;quot;IsapiModule&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scriptProcessor=&amp;quot;%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; preCondition=&amp;quot;classicMode,runtimeVersionv2.0,bitness32&amp;quot; responseBufferLimit=&amp;quot;0&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/handlers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rewriter&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rewrite url=&amp;quot;^~/Test1/(.*)$&amp;quot; to=&amp;quot;~/TestUrlRewrite.aspx?PageContentUrl=Test1/$1&amp;quot; processing=&amp;quot;stop&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rewrite url=&amp;quot;^~/Test1/$&amp;quot; to=&amp;quot;~/TestUrlRewrite.aspx?PageContentUrl=Test1&amp;quot; processing=&amp;quot;stop&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rewrite url=&amp;quot;^~/AboutUs$&amp;quot; to=&amp;quot;~/Pages/Default.aspx?PageContentUrl=AboutUs&amp;quot; processing=&amp;quot;stop&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/rewriter&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The above rules all work&amp;nbsp;when I&amp;#39;m&amp;nbsp;working on VS2008. (e.g. &lt;a href="http://localhost:2649/App"&gt;http://localhost:2649/App&lt;/a&gt;).&lt;br /&gt;The rewrites are all ok and successful.&lt;/p&gt;
&lt;p&gt;However, when I use this through IIS7.0, using &lt;a href="http://localhost/App"&gt;http://localhost/App&lt;/a&gt;... the problems are below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Problem.&amp;nbsp;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;The rewrite:&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;a href="http://localhost/App/test1/"&gt;http://localhost/App/test1/&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/&lt;u&gt;&lt;strong&gt;lRewrite.aspx&lt;/strong&gt;&lt;br /&gt;&lt;/u&gt;&lt;a href="http://localhost/App/test1/1"&gt;http://localhost/App/test1/1&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/1/&lt;strong&gt;&lt;u&gt;Rewrite.aspx&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://localhost/App/test1/12"&gt;http://localhost/App/test1/12&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/12/&lt;strong&gt;&lt;u&gt;ewrite.aspx&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://localhost/App/test1/12345"&gt;http://localhost/App/test1/12345&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/12345/&lt;strong&gt;&lt;u&gt;ite.aspx&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;There is a pattern here:&lt;br /&gt;My target URL filename is : &amp;quot;TestUrlRewrite.aspx&amp;quot; (&amp;lt;- let this be called &amp;quot;TargetFileName&amp;quot;).&lt;br /&gt;The server is rewriting the URL minus the length of the &amp;quot;source&amp;quot; URL, starting from &amp;quot;test1&amp;quot;.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;For example, &lt;br /&gt;&lt;a href="http://localhost/App/test1/12345"&gt;http://localhost/App/test1/12345&lt;/a&gt; --&amp;gt; Requested URL: /App/test1/12345/ite.aspx&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Length of &amp;quot;test1/12345&amp;quot; is 11.&lt;br /&gt;The targetURL will be rewritten right(TargetFileName, len(TargetFileName) - 11) = &amp;quot;ite.aspx&amp;quot; where the first 11 characters (&amp;quot;TestUrlRewr&amp;quot;) have been removed/truncated.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;HOWEVER&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;If however, I exceed the length of TargetFileName, the URLRewriting works!&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="http://localhost/App/test1/12345123123123123"&gt;http://localhost/App/test1/12345123123123123&lt;/a&gt; --&amp;gt; The server brings me to the target page. :)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Hope I&amp;#39;m making sense, and you&amp;#39;re following my details.&lt;/p&gt;
&lt;p&gt;Hope you can help. :)&lt;/p&gt;</description></item><item><title>Re: (Intelligencia.UrlRewriter) IIS7 not redirecting URL</title><link>http://forums.iis.net/p/1153846/1887926.aspx#1887926</link><pubDate>Thu, 18 Dec 2008 02:35:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887926</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi Ruslany,&lt;/p&gt;
&lt;p&gt;Thanks for the reminder.&lt;br /&gt;But YES, I&amp;#39;ve got 3.5 SP1 installed and running.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s really strange that IIS is appending the last few characters of the target URL into the &amp;quot;rewritten&amp;quot; url.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>(Intelligencia.UrlRewriter) IIS7 not redirecting URL</title><link>http://forums.iis.net/p/1153846/1887788.aspx#1887788</link><pubDate>Wed, 17 Dec 2008 14:07:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887788</guid><dc:creator>denniswong288</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using&amp;nbsp;Intelligencia.UrlRewriter from UrlRewriter.Net&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been developing my site on VS2008 Express. &lt;br /&gt;And everything works ok. &lt;br /&gt;&lt;br /&gt;I have recently installed IIS7 on my machine, to load as localhost, to ensure and test that everything is working before I publish the site. &lt;br /&gt;&lt;br /&gt;However, the URLRewriter no longer works when I publish as local. (It was previously working fine when I worked through VS2008.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Web.Config:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;rewrite url=&amp;quot;~/Test1/(.+)&amp;quot; to=&amp;quot;~/TestUrlRewrite.aspx?PageContentUrl=Test1/$1&amp;quot;&amp;gt;&amp;lt;/rewrite&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;In VS2008:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This works absolutely fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;In IIS7.0 as localhost:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;a href="http://localhost/App/test1"&gt;http://localhost/App/test1&lt;/a&gt;&amp;quot;&amp;nbsp;--&amp;gt; the Requested URL becomes &lt;a href="http://localhost/FLC/test1/spx"&gt;&amp;quot;&lt;font color="#000000"&gt;/App/test1/&lt;strong&gt;rlRewrite.aspx&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost/FLC/test1/asdf"&gt;http://localhost/App/test1/asdf&lt;/a&gt; --&amp;gt; the Requested URL becomes &amp;quot;/App/test1/asdf/&lt;strong&gt;rite.aspx&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost/FLC/test1/1234567890"&gt;http://localhost/App/test1/1234567890&lt;/a&gt;&lt;a href="http://localhost/FLC/test1/asdf"&gt;&lt;/a&gt; --&amp;gt; the Requested URL becomes &amp;quot;/App/test1/1234567890/&lt;strong&gt;spx&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why is the webserver rewriting the URLs wrongly? (It&amp;#39;s appending&amp;nbsp;the last few letters of the target URL...)&lt;/p&gt;
&lt;p&gt;What is wrong here?&lt;/p&gt;
&lt;p&gt;Greatly appreciate if someone can help me.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Helicon Isapi Rewrite</title><link>http://forums.iis.net/p/1153119/1885129.aspx#1885129</link><pubDate>Mon, 17 Nov 2008 21:27:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885129</guid><dc:creator>ruslany</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;The URL Rewrite module&amp;nbsp;is fully supported by Microsoft&amp;nbsp;according to the Windows Supplemental license;&amp;nbsp;it works on IIS 7 and will be incorporated into future versions and targets some key url rewriting&amp;nbsp;scenarios.&amp;nbsp;Although there are a lot of compelling reasons to&amp;nbsp;use this module,&amp;nbsp;you should evaluate your requirements to determine the best solution.&amp;nbsp; For example,&amp;nbsp;if you need&amp;nbsp;URL rewrite functionality for past versions of IIS, or if&amp;nbsp;you need syntax compatibility with mod_rewrite rules within .htaccess files, then ISAPI_Rewrite may be a good option to consider.&lt;/p&gt;</description></item><item><title>Re: Moving from ISAPI_REWRITE</title><link>http://forums.iis.net/p/1152166/1881487.aspx#1881487</link><pubDate>Tue, 07 Oct 2008 20:42:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881487</guid><dc:creator>ruslany</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;The codeigniter mod_rewrite rules described here (&lt;a href="http://codeigniter.com/wiki/mod_rewrite/"&gt;http://codeigniter.com/wiki/mod_rewrite/&lt;/a&gt;) rewrite to index.php/$1. The provided example of ISAPI_Rewrite rules rewrite to index.php&lt;strong&gt;?&lt;/strong&gt;/$1 (notice the question mark symbol). I do not think the question mark should be there. Have you tried removing the ? from the substitution url in the &amp;quot;Clean URL&amp;quot; rule? &lt;/p&gt;
&lt;p&gt;E.g. &amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;index.php/{R:1}&amp;quot; appendQueryString=&amp;quot;false&amp;quot; /&amp;gt;&lt;/p&gt;</description></item></channel></rss>