<?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 'reverse proxy'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=reverse+proxy&amp;orTags=0</link><description>Search results matching tag 'reverse proxy'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS loadbalancer question</title><link>http://forums.iis.net/p/1161476/1919502.aspx#1919502</link><pubDate>Mon, 05 Oct 2009 12:30:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919502</guid><dc:creator>supportnet</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;I am going to setup an IIS7 instance behind a load balancer.&lt;br /&gt;I would like all apps (PHP/ASP/Asp.net) to be able to see correct REMOTE_ADDR, and not the one of loadbalancer.&lt;/p&gt;&lt;p&gt;Later on I&amp;#39;ll use ARR, and would like to ensure the problem doesn&amp;#39;t occur there too. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please advise. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Redirect to another application iis 7</title><link>http://forums.iis.net/p/1160560/1918248.aspx#1918248</link><pubDate>Fri, 25 Sep 2009 03:37:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918248</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I think what you want to do is to originally receive the requests via 80, but proxy it to 3000 on the same server, yes?&lt;/p&gt;
&lt;p&gt;If so, you will just want to configure ARR as a reverse proxy and route the request to localhost:3000.&amp;nbsp; (When you click on the server node in IIS Manager, you will see an ARR icon.&amp;nbsp; From there, you can configure ARR as a reverse proxy.)&lt;/p&gt;</description></item><item><title>Re: Outside Rewrite</title><link>http://forums.iis.net/p/1160890/1918243.aspx#1918243</link><pubDate>Fri, 25 Sep 2009 03:13:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918243</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Let me see if I understand your question.&amp;nbsp; You want the requests that are received via site.ourdomain.com to be routed to site.hosteddomain.com without changing the URL on the client browser, is that right?&lt;/p&gt;
&lt;p&gt;If so, all you need to do is to configure ARR as a reverse proxy.&amp;nbsp; The UI for this configure differs slightly between ARRv1 and ARRv2.&amp;nbsp; If you can tell me which one you have, I can provide you with the exact steps.&lt;/p&gt;</description></item><item><title>Re: Simple redirect question</title><link>http://forums.iis.net/p/1159389/1911485.aspx#1911485</link><pubDate>Fri, 24 Jul 2009 16:45:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911485</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;No problems.&lt;/p&gt;
&lt;p&gt;I think I understood you fully, but I wanted to repeat it to ensure that I do.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;You are using ARR in a hybrid mode.&amp;nbsp; Meaning, it is both a proxy (for savitarbernese.sytes.net) and for all others, it is a content server.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;For requests with hostname savitarbernese.sytes.net, you want them to be forwarded to 192.168.1.58.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Is that it?&lt;/p&gt;
&lt;p&gt;Assuming that above is what you want, here are the couple of steps that you will need to take.&lt;/p&gt;
&lt;p&gt;Before you start though, make sure that you don&amp;#39;t have any server farms created and/or any URL rewrite rules have been written.&amp;nbsp; If so, please remove them.&amp;nbsp; I am assuming that you have a clean start.&lt;/p&gt;
&lt;p&gt;1) Let&amp;#39;s enable proxy.&amp;nbsp; For that, on the page that you have already located, check &amp;quot;Enable proxy&amp;quot; checkbox.&amp;nbsp; Accept all the default values, except:&lt;/p&gt;
&lt;p&gt;- select &amp;quot;Use URL Rewrite to inspect incoming requests&amp;quot;&lt;/p&gt;
&lt;p&gt;- in &amp;quot;Reserver proxy:&amp;quot;, enter 192.168.1.58&lt;/p&gt;
&lt;p&gt;Doing just the above has now setup the ARR.&amp;nbsp; However, ALL requests are being forwarded to 192.168.1.58.&lt;/p&gt;
&lt;p&gt;2) So in order to only forward the requests with hostname savitarbernese.sytes.net, let&amp;#39;s further modify the URL rewrite rule.&amp;nbsp; Select the server node in the navigation tree view.&amp;nbsp; Select URL rewrite icon.&amp;nbsp; Note that there is one rule that has been created (from step 1 above).&amp;nbsp; It should be named something like &amp;quot;ARR_server_proxy&amp;quot;.&amp;nbsp; Select the rule and click &amp;quot;Edit&amp;quot;.&lt;/p&gt;
&lt;p&gt;Once you are in the &amp;quot;editing&amp;quot; mode, sleect &amp;quot;Add Conditions&amp;quot;, the click &amp;quot;Add...&amp;quot;.&amp;nbsp;&amp;nbsp; In &amp;quot;Add Condition&amp;quot; dialog, enter {HTTP_HOST}, Matches the pattern savitarbernese.sytes.net.&amp;nbsp; Click on OK to save.&amp;nbsp; The &amp;quot;Add Condition&amp;quot; dialog is now closed and you are back to Edit Rule page.&amp;nbsp; Click on Apply on the right hand side to save the changes.&lt;/p&gt;
&lt;p&gt;Basically what you have done in step 2 is to add a contion to the rule so that the rule is applied only when the condition is true (in which case the host header is &amp;quot;savitarbernese.sytes.net&amp;quot;).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That should do the trick.&amp;nbsp; Let me know if you have further questions.&lt;/p&gt;</description></item><item><title>Re: how to implmenent such URL rewrite rule in ARR?</title><link>http://forums.iis.net/p/1159251/1910613.aspx#1910613</link><pubDate>Fri, 17 Jul 2009 05:10:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910613</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;In your case, because the 4 sites are running on different machines, you have to proxy that request via common gateway (like ARR).&amp;nbsp; So I don&amp;#39;t think you will be able to accomplish what you want with just URL rewrite.&lt;/p&gt;
&lt;p&gt;I think this article will explain how you can achieve what you want to do.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://learn.iis.net/page.aspx/659/reverse-proxy-with-url-rewrite-v2-and-application-request-routing/"&gt;http://learn.iis.net/page.aspx/659/reverse-proxy-with-url-rewrite-v2-and-application-request-routing/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>REMOTE_ADDR IP restriction and DFS</title><link>http://forums.iis.net/p/1159255/1910350.aspx#1910350</link><pubDate>Wed, 15 Jul 2009 09:06:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910350</guid><dc:creator>nelson_cerqueira</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;We install Microsoft Application Request Routing on a server and we are using it as a reverse proxy server.&lt;br /&gt;&lt;br /&gt;All the url rewrite rules work, if we update the rule set with new rules everything still works but if we introduce or modify any rule that contains any IP condition and use REMOTE_ADDR as a variable the web server breaks and stop serving.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;ie: &lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;add&lt;/span&gt;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;input&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;{REMOTE_ADDR}&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;pattern&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;^(10.0.0.1|127.0.0.1)&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; /&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;We can only resume serving when we restart the web server.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;This is very problematic as we use this reverse proxy as a production server and we cant be starting it whenever we want.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Can someone have any ideas for solving this?&amp;nbsp;Many thanks.&lt;/span&gt;</description></item><item><title>Re: Reverse proxy for 3 internal web servers</title><link>http://forums.iis.net/p/1157619/1907794.aspx#1907794</link><pubDate>Sun, 21 Jun 2009 03:22:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907794</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I believe the examples shown in this forum post would also be helpful in understanding how different rules can be used for routing requests: &lt;a href="http://forums.iis.net/t/1158459.aspx"&gt;http://forums.iis.net/t/1158459.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you have further problems.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy not working</title><link>http://forums.iis.net/p/1158443/1907548.aspx#1907548</link><pubDate>Thu, 18 Jun 2009 17:59:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907548</guid><dc:creator>ruslany</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;From the trace file it looks like the URL rewrite module has changed the URL correctly to &lt;a href="http://172.28.75.31:90/s1mobile-server/favicon.ico"&gt;http://172.28.75.31:90/s1mobile-server/favicon.ico&lt;/a&gt;. Do you have ARR module installed? Also, have you enabled the proxy functionality in ARR (Check the “Enable proxy” checkbox located in Application Request Routing feature view is IIS Manager)&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy not working</title><link>http://forums.iis.net/p/1158443/1907136.aspx#1907136</link><pubDate>Tue, 16 Jun 2009 03:20:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907136</guid><dc:creator>ruslany</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;When you make a request to http://mydomain.com/version.html what is the error you are getting from IIS?&lt;/p&gt;</description></item><item><title>Does ARR supported rewrite URL for non-ASCII charset?</title><link>http://forums.iis.net/p/1156846/1900420.aspx#1900420</link><pubDate>Tue, 14 Apr 2009 09:59:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900420</guid><dc:creator>tigerlin</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Few days ago, I was install ARR 2.0 beta 1 on my IIS 7 to build reverse proxy.&lt;br /&gt;It&amp;#39;s ok for rewrite URL to my web server, I&amp;#39;m so glad ARR can use for reverse proxy :)&lt;/p&gt;
&lt;p&gt;only one thing I&amp;#39;m confused, when QuerryString has non-ASCII charset (EX:Chinese words), ARR will response HTTP 500 error.&lt;/p&gt;
&lt;p&gt;Does ARR supported rewrite URL for non-ASCII characters such as Unicode? Or does it have another way to solve this problem.&amp;nbsp; Thanks&lt;/p&gt;</description></item></channel></rss>