<?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 'webfarm'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=webfarm&amp;orTags=0</link><description>Search results matching tag 'webfarm'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Host headers and load balancing IIS 7.0</title><link>http://forums.iis.net/p/1162657/1924837.aspx#1924837</link><pubDate>Sun, 15 Nov 2009 20:17:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924837</guid><dc:creator>CatZ</dc:creator><cs:applicationKey>iis7_-_web_farms-41</cs:applicationKey><description>Hi,

I have a bunch of DNS entries that all point to the same root domain (cms.company.com) example. download.company.com points to cms.company.com and then I get the content dynamically for the specific domain. I have NOT added all the host headers in IIS I have just pointed the sub domains to cms.company.com. When I was running this on a single server I had no problems but now that I want to load balance I run into problems. There is two ways to get the client to end up on the web server:

1. Add the host header entries (not really an option since I have 100&amp;#39;s of domains)
2. Add a default port 80 with empty host header (not an options since that is already taken)

Does anyone understand what the problem is and does anyone have any suggestions or links to further reading or whatever?</description></item><item><title>IIS Components for ARR Server Farm Routing</title><link>http://forums.iis.net/p/1160630/1915773.aspx#1915773</link><pubDate>Thu, 03 Sep 2009 17:22:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915773</guid><dc:creator>BSheaffer</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m trying to test ARR to route to our test CRM4 server (as a potential base for a CRM4 server farm). The config is very simple: a single server with a fresh install of Windows 2008 R1 with SP2 running IIS and ARR; and an older server running Windows 2003 R2 running IIS and CRM4. (The CRM4 server has been tested and works fine).&lt;/p&gt;
&lt;p&gt;I just can&amp;#39;t get&amp;nbsp;ARR to route ANYTHING to the server farm. I&amp;#39;ve followed the installation instructions&amp;nbsp;(&lt;a href="http://learn.iis.net/page.aspx/482/install-application-request-routing/"&gt;http://learn.iis.net/page.aspx/482/install-application-request-routing/&lt;/a&gt;) and the server farm walkthru (&lt;a href="http://learn.iis.net/page.aspx/485/define-and-configure-an-application-request-routing-server-farm/"&gt;http://learn.iis.net/page.aspx/485/define-and-configure-an-application-request-routing-server-farm/&lt;/a&gt;), but ARR won&amp;#39;t route to the farm (a netmon cap shows ARR doesn&amp;#39;t even try to talk to the server in the farm). I&amp;#39;ve tried several things: just using the default rule that is automatically created; modifying the rule to pick pieces of the URL (rather than {R:0}); creating rules that hard set the url to &lt;a href="http://%7bfarm%7d/test.txt"&gt;http://{farm}/test.txt&lt;/a&gt;; even destroying everything and recreating.... Nothing works for farm routing.&lt;/p&gt;
&lt;p&gt;However, redirection works fine: when I switch away from server farm routing to redirection, any rule I set up sends me the the destination server.&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find a list of required IIS components (I know the management service is required - ARR didn&amp;#39;t install correctly without it; it didn&amp;#39;t error - it just didn&amp;#39;t show up in IIS). I don&amp;#39;t know if there&amp;#39;s something missing that server farm routing needs (and redirection doesn&amp;#39;t). I&amp;#39;ve just rebuilt the ARR server so I can try fresh (I tried the v2 beta, and lost the gui to get to the rewrite rules).&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks, -B&lt;/p&gt;</description></item><item><title>Help with backend failover cluster SPN delegation.</title><link>http://forums.iis.net/p/1160309/1914575.aspx#1914575</link><pubDate>Tue, 25 Aug 2009 16:30:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914575</guid><dc:creator>Kapn.K</dc:creator><cs:applicationKey>web_farms--1</cs:applicationKey><description>&lt;p&gt;I have 2 network names. 1 for the cluster and one for the file server resource. When I configure the account, that runs app pools on my nlb, to delegate to the host and cif&amp;#39;s service(cluster attached to san), I use the file server name(b/c that&amp;#39;s what I specify in IIS file location), right? The person that built the cluster did so w/o creating the computer objects for the cluster name and file server name(we don&amp;#39;t have permissions to create the accounts but I can work with the people that do). Can I just create the file server name and spn&amp;#39;s for that name and give permission to the cluster service account? Or do I need to create the cluster name object as well?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>Flush Server Cache</title><link>http://forums.iis.net/p/1160123/1913890.aspx#1913890</link><pubDate>Tue, 18 Aug 2009 10:33:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913890</guid><dc:creator>cvsayani</dc:creator><cs:applicationKey>web_farms--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have my web site on a web farm.&amp;nbsp; Each server with in the web farm has a copy of the runtime.&amp;nbsp; Every time I make a release, &lt;/p&gt;&lt;p&gt;1. I pause IIS on the web server and see that there are no connections and take it out of the server pool.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Stop IIS&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Copy the runtime files&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. Clear all the files in &amp;#39;Temporary ASP.NET Files&amp;#39; folder&lt;/p&gt;&lt;p&gt;5. Start IIS.&lt;/p&gt;&lt;p&gt;6. Test the web site&lt;/p&gt;&lt;p&gt;7.&amp;nbsp; Add it back to the server pool in the web farm.&lt;/p&gt;&lt;p&gt;Repeat this step for each server in the farm.&lt;/p&gt;&lt;p&gt;Obviously, this is getting very tedious.&amp;nbsp; I scripted MS Deploy so that I copy on one server and the others are automatically synchronized.&lt;/p&gt;&lt;p&gt;But my problem is I want to avoid Clearing Temporary ASP.NET Files.&amp;nbsp; This always requires IIS to stop.&amp;nbsp; Is there a way to automate this process?&lt;/p&gt;&lt;p&gt;Can anybody help?&lt;/p&gt;&lt;p&gt;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>ARR + Forms Authentication</title><link>http://forums.iis.net/p/1159457/1911197.aspx#1911197</link><pubDate>Wed, 22 Jul 2009 15:05:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911197</guid><dc:creator>jortizv</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;span&gt;
&lt;p dir="ltr" align="left"&gt;Is there an easy way to configure Forms Authentication to be passed to the farm servers, the idea is to have the authentication happen at one server and another server will be access with those credentials, our application uses forms authentication, and when we hit another server directly on the farm by passes the form authentication, can anyone guide me on the most effective way to do this.. &lt;/p&gt;
&lt;p dir="ltr" align="left"&gt;Any help would be appreciated.. thank you&lt;/p&gt;
&lt;p dir="ltr" align="left"&gt;JO &lt;/p&gt;&lt;/span&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>How many SPN's do I need? NLB/MSCS</title><link>http://forums.iis.net/p/1159131/1909814.aspx#1909814</link><pubDate>Thu, 09 Jul 2009 21:04:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909814</guid><dc:creator>Kapn.K</dc:creator><cs:applicationKey>web_farms--1</cs:applicationKey><description>&lt;p&gt;I have nlb groups and multiple sites(each site has own application pool).&lt;/p&gt;
&lt;p&gt;I would like to have one account that all the app pools run under.&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t get kerberos working(necessary for remote file-share webroot) using the machine accounts but I was able to with a user account.&lt;/p&gt;
&lt;p&gt;Do I need to do this for each site(not machine)?&lt;/p&gt;
&lt;p&gt;setspn -A HTTP/website1.domain.com domain\service account&lt;/p&gt;
&lt;p&gt;setspn -A HTTP/website2.domain.com domain\service account&lt;/p&gt;
&lt;p&gt;Or does that cause the duplicate SPN? If so, do I need a separate service account for each site/app pool?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Configuring IIS 6.0 Machine.config for use in Web Farm (ASP.net 2.0)</title><link>http://forums.iis.net/p/1158754/1908306.aspx#1908306</link><pubDate>Thu, 25 Jun 2009 20:12:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908306</guid><dc:creator>k1DBLITZ</dc:creator><cs:applicationKey>web_farms--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;So, where would I add the following line? (.net 2.0)&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;font size="2"&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="font-size:10pt;color:blue;font-family:Verdana;"&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:Verdana;"&gt;&lt;font size="2"&gt;machineKey&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;&lt;span&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&lt;font size="2"&gt;validationKey&lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;font size="2"&gt;=&amp;#39;A130E240DF1C49E2764EF8A86CEDCBB11274E5298A130CA08B90EED016C0&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;&lt;span style="color:blue;"&gt;&lt;font size="2"&gt;14CEAE1D86344C29E67E99DF83347E43820050A2B9C9FC89E0574BF3394B6D0401A9&amp;#39;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;&lt;span style="color:blue;"&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&lt;font size="2"&gt;decryptionKey&lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;font size="2"&gt;=&amp;#39;2CC37FFA8D14925B9CBCC0E3B1506F35066FEF33FEB4ADC8&amp;#39;&lt;/font&gt;&lt;/span&gt;&lt;font size="2"&gt; &lt;span style="color:red;"&gt;validation&lt;/span&gt;&lt;span style="color:blue;"&gt;=&amp;#39;SHA1&amp;#39;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;I have reviewed the following MSDN articles:&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/w8h3skw9%28VS.71%29.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/w8h3skw9(VS.71).aspx&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms998288.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/ms998288.aspx&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;However, my machine.config file for ASP.net 2.0 does not seem to correspond with the article. Searching for &amp;quot;validationkey&amp;quot; in the&amp;nbsp; machine.config, machine.config.comments, and machine.config.default returns nothing.&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;I have entered the above validation key (different one of course) right below the &amp;lt;system.web&amp;gt; entry in the machine.config and reset IIS.&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;The users are still experiencing the same problem as before which is:&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;Message: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Help! Regular Expressions</title><link>http://forums.iis.net/p/1157694/1904000.aspx#1904000</link><pubDate>Sun, 17 May 2009 15:37:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904000</guid><dc:creator>aplevine</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Thanks for the reply!&amp;nbsp; Here&amp;nbsp;are the current rules.&amp;nbsp;The top-most rule should be invoked for the host name WEBAPPUAT with conditions for specific applications.&amp;nbsp;&amp;nbsp;Using a wildard rule, I tried to qualify the hostname with *webappuat* or &lt;a href="http://webappuat/"&gt;http://webappuat&lt;/a&gt;*, but this did not work.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;-Alan&amp;nbsp;Levine&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;rewrite&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;globalRules&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;clear /&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;ARR_Core2Uat_loadbalance&amp;quot; enabled=&amp;quot;true&amp;quot; patternSyntax=&amp;quot;Wildcard&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;match url=&amp;quot;*webappuat*&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditions logicalGrouping=&amp;quot;MatchAny&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;nbsp;&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 input=&amp;quot;{REQUEST_URI}&amp;quot; pattern=&amp;quot;/hello2.txt&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/conditions&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;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://core2uat/%7BR:0"&gt;http://Core2Uat/{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;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;ARR_Core1Uat_loadbalance&amp;quot; enabled=&amp;quot;true&amp;quot; patternSyntax=&amp;quot;Wildcard&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;match url=&amp;quot;*&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditions logicalGrouping=&amp;quot;MatchAll&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;nbsp;&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 input=&amp;quot;{HTTP_HOST}&amp;quot; pattern=&amp;quot;webappuat&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/conditions&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;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://core1uat/%7BR:0"&gt;http://Core1Uat/{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;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;ARR_Core2Int_loadbalance&amp;quot; enabled=&amp;quot;true&amp;quot; patternSyntax=&amp;quot;Wildcard&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;match url=&amp;quot;*&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditions logicalGrouping=&amp;quot;MatchAny&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;nbsp;&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 input=&amp;quot;{REQUEST_URI}&amp;quot; pattern=&amp;quot;/hello2.txt&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;nbsp;&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 input=&amp;quot;{REQUEST_URI}&amp;quot; pattern=&amp;quot;/testtest/*&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/conditions&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;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://core2int/%7BR:0"&gt;http://Core2Int/{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;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;ARR_Core1Int_loadbalance&amp;quot; enabled=&amp;quot;true&amp;quot; patternSyntax=&amp;quot;Wildcard&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;match url=&amp;quot;*&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditions logicalGrouping=&amp;quot;MatchAll&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;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://core1int/%7BR:0"&gt;http://Core1Int/{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;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/globalRules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/rewrite&amp;gt;&lt;/p&gt;</description></item><item><title>Help! Regular Expressions</title><link>http://forums.iis.net/p/1157694/1903922.aspx#1903922</link><pubDate>Fri, 15 May 2009 21:04:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903922</guid><dc:creator>aplevine</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Here is the scenario.&amp;nbsp; We have ARR receiving requests for 2 distinct hostnames.&amp;nbsp; We&amp;#39;ll call then &lt;a href="http://webapp1/"&gt;http://WEBAPP1&lt;/a&gt; and &lt;a href="http://webapp2/"&gt;http://WEBAPP2&lt;/a&gt;.&amp;nbsp; Both host names have the same IP and resolve to the same ARR server.&lt;/p&gt;
&lt;p&gt;WEBAPP1 and WEBAPP2 have 2 servers behind them.&amp;nbsp; In ARR I have 4 web farms.&amp;nbsp; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;WEBAPP1A&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;WEBAPP1B&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;WEBAPP2A&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;WEBAPP2B&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;In my URL Rewrite rules, at the bottom is WEBAPP1A with a * wildcard.&amp;nbsp; Everything that comes in to WEBAPP1 goes to WEBAPP1A by default.&lt;/p&gt;
&lt;p&gt;The next rule is WEBAPP1B.&amp;nbsp; It is a * wildcard rule with conditions.&amp;nbsp; If you go to WEBAPP1/condition.htm (this is the REQUEST_URI in the condition) then you get routed to server WEBAPP1B.&amp;nbsp; Otherwise you get routed to server WEBAPP1A.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now this same ARR hosts WEBAPP2 - different host name. &lt;/p&gt;
&lt;p&gt;I can create the next rule as a * wildcard and add a condition with HTTP_HOST to qualify the host name as WEBAPP2.&amp;nbsp; This would be the default location for WEBAPP2 urls.&lt;/p&gt;
&lt;p&gt;Now when I to route to WEBAPP2B, and I want to have multiple REQUEST_URIs in the conditions, I need to qualify the rule pattern with a regular expression to single out the host name.&amp;nbsp; So if I want WEBAPP2/condition.htm to go to WEBAPP2B, I need to know how to write this expression.&amp;nbsp; There doesn&amp;#39;t seem to be a way to do this with * wildcards.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any and all help is greatly appeciated.&lt;/p&gt;
&lt;p&gt;Alan Levine&lt;br /&gt;Progress Energy - Raleigh, NC&lt;/p&gt;</description></item></channel></rss>