<?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>IIS 7.0 - Application Request Routing (ARR)</title><link>http://forums.iis.net/1154.aspx</link><description>Maximize server resources, and increase application availability and scalability with Application Request Routing.  Use this forum to ask questions, discuss issues, request features, and get support.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908889.aspx</link><pubDate>Wed, 01 Jul 2009 16:39:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908889</guid><dc:creator>wonyoo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908889.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908889</wfw:commentRss><description>&lt;p&gt;David&lt;/p&gt;
&lt;p&gt;Thanks for making the tracing rule available.&amp;nbsp; (However, it looks like you must have enabled the tracing after URL rewrite and ARR have been installed.&amp;nbsp; Did you know that URL rewrite and ARR can write more detailed information to tracing?&amp;nbsp; &amp;nbsp; &lt;a href="http://learn.iis.net/page.aspx/488/using-failed-request-tracing-rules-to-troubleshoot-application-request-routing-arr/"&gt;http://learn.iis.net/page.aspx/488/using-failed-request-tracing-rules-to-troubleshoot-application-request-routing-arr/&lt;/a&gt;&amp;nbsp;&amp;nbsp; If you do not see RequestRouting and Rewrite in the Area section, then it is probably because tracing was enabled after these modules have been installed.&amp;nbsp; If that&amp;#39;s the case, you can simply repair the two installations via add-remove programs.)&lt;/p&gt;
&lt;p&gt;However, not having additional info doesn&amp;#39;t really matter with this investigation.&lt;/p&gt;
&lt;p&gt;What you have stated is exactly right.&amp;nbsp; If you go to the compact view of the log, the line number 30 is where the IIS URL rewrite module has changed the URL:&lt;/p&gt;&lt;pre class="pre-event-data"&gt;OldUrl=&amp;quot;/reports/Pages/Folder.aspx&amp;quot;, NewUrl=&lt;a href="http://ssrs2008/reports/Pages/Folder.aspx"&gt;http://SSRS2008/reports/Pages/Folder.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;p&gt;And it is correctly routing the request to the serverfarm.&lt;/p&gt;
&lt;p&gt;However, the line number 84 rewrites it to:&lt;/p&gt;&lt;pre class="pre-event-data"&gt;OldUrl=&amp;quot;http://SSRS2008/reports/Pages/Folder.aspx&amp;quot;, NewUrl=&amp;quot;/UrlRouting.axd&amp;quot;&lt;/pre&gt;
&lt;p&gt;and then again the line number 98 rewrites it to:&lt;/p&gt;&lt;pre class="pre-event-data"&gt;OldUrl=&amp;quot;/UrlRouting.axd&amp;quot;, NewUrl=&amp;quot;/reports/Pages/Folder.aspx&amp;quot;&lt;/pre&gt;&lt;pre class="pre-event-data"&gt;Which is why it is resulting in 404.&lt;/pre&gt;&lt;pre class="pre-event-data"&gt;&amp;nbsp;&lt;/pre&gt;</description></item><item><title>Re: Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908868.aspx</link><pubDate>Wed, 01 Jul 2009 14:41:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908868</guid><dc:creator>davidfossil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908868.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908868</wfw:commentRss><description>&lt;p&gt;The web site I want to use as the &amp;quot;container&amp;quot; for the proxy directory is buildt with ASP.NET MVC, and utilizes the URL routing provided with the framework. It seems that this routing module interferes with the IIS url rewriting, and causes the 404 error.&lt;/p&gt;</description></item><item><title>Re: Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908846.aspx</link><pubDate>Wed, 01 Jul 2009 12:43:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908846</guid><dc:creator>davidfossil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908846.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908846</wfw:commentRss><description>&lt;p&gt;And a failed request trace log:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://foto.birkegruppen.dk/trace/fr000001.xml"&gt;http://foto.birkegruppen.dk/trace/fr000001.xml&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908844.aspx</link><pubDate>Wed, 01 Jul 2009 12:31:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908844</guid><dc:creator>davidfossil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908844.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908844</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;From the web.config in my front-end HTTPS site:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;SSRS2008&amp;quot; enabled=&amp;quot;true&amp;quot; stopProcessing=&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;match url=&amp;quot;^reports/.*$&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;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;&lt;a href="http://ssrs2008/%7BR:0"&gt;http://SSRS2008/{R:0&lt;/a&gt;}&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/rule&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/rules&amp;gt;&lt;br /&gt;&amp;lt;/rewrite&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;From %windir%\system32\inetsrv\applicationHost.config:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;webFarms&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;webFarm name=&amp;quot;SSRS2008&amp;quot; enabled=&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;lt;server address=&amp;quot;127.0.0.1&amp;quot; enabled=&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;applicationRequestRouting httpPort=&amp;quot;8000&amp;quot; httpsPort=&amp;quot;8000&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/server&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;applicationRequestRouting&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;protocol timeout=&amp;quot;02:30:00&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/applicationRequestRouting&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/webFarm&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;applicationRequestRouting&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hostAffinityProviderList&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;Microsoft.Web.Arr.HostNameRoundRobin&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;Microsoft.Web.Arr.HostNameMemory&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/hostAffinityProviderList&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/applicationRequestRouting&amp;gt;&lt;br /&gt;&amp;lt;/webFarms&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908838.aspx</link><pubDate>Wed, 01 Jul 2009 11:35:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908838</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908838.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908838</wfw:commentRss><description>&lt;p&gt;Your url-rewrite and arr configuration and failed request trace log for the request in question would be helpful.&lt;/p&gt;</description></item><item><title>Proxy requests from HTTPS to internal HTTP</title><link>http://forums.iis.net/thread/1908834.aspx</link><pubDate>Wed, 01 Jul 2009 11:11:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908834</guid><dc:creator>davidfossil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908834.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1908834</wfw:commentRss><description>&lt;p&gt;I have an application server installed, listening for HTTP traffic on a port which is not blocked from the world by a firewall. I wish to expose the services offered by this application only through HTTPS, preferably as a &amp;quot;sub directory&amp;quot; of the HTTPS site already hosted by the server.&lt;/p&gt;

&lt;p&gt;Using IIS7 Url Rewriting, I am able to setup a rule that redirects all traffic to a sub path of my existing HTTPS site. However, I am facing some trouble, when trying to make the same rule route to my server farm setup - all requests matching the rule simply get 404 reponses. Adding the very same rule to a non-SSL site, yields the expected behaviour - the application services are proxied right trough.&lt;/p&gt;

&lt;p&gt;What might be wrong in my setup? Is ARR proxying the HTTPS requests as HTTPS traffic to the application server? The application I want to host does not have a HTTPS interfaces so, if yes: can I tell it not to do so?&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item></channel></rss>