<?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>IIS7 - URL Rewrite Module</title><link>http://forums.iis.net/1152.aspx</link><description>All about the URL Rewrite Module for IIS 7.0. Use this forum to ask URL Rewiter questions, discuss issues, and request features.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1914128.aspx</link><pubDate>Thu, 20 Aug 2009 17:50:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914128</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1914128.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1914128</wfw:commentRss><description>&lt;p&gt;I do not see it in my inbox - when did you send it and what is the e-mail address from which you sent it?&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1914098.aspx</link><pubDate>Thu, 20 Aug 2009 14:23:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914098</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1914098.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1914098</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Have you had a chance to take a look? I have resend the zip file.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1912108.aspx</link><pubDate>Thu, 30 Jul 2009 20:18:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912108</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1912108.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1912108</wfw:commentRss><description>&lt;p&gt;I must have missed it - can you e-mail it to me again - please include link to this thread in your e-mail.&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1912105.aspx</link><pubDate>Thu, 30 Jul 2009 20:13:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912105</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1912105.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1912105</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Anil - sorry I have not followed up earlier but did you get a chance to look at the trace I had sent you? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1908242.aspx</link><pubDate>Thu, 25 Jun 2009 13:48:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908242</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908242.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1908242</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you Anil. I sent you an email and deleted above XML.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1908138.aspx</link><pubDate>Wed, 24 Jun 2009 16:42:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908138</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908138.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1908138</wfw:commentRss><description>&lt;p&gt;It is impossible to view like this - can you e-mail me the file at anil (dot) ruia (at) microsoft (dot) com?&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1908020.aspx</link><pubDate>Tue, 23 Jun 2009 20:24:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908020</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908020.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1908020</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sure thing. Here it goes.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1908019.aspx</link><pubDate>Tue, 23 Jun 2009 19:53:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908019</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908019.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1908019</wfw:commentRss><description>&lt;p&gt;Since you say you have basic reverse proxy working, I assume that you have ARR installed and configured.&amp;nbsp; Can you collect failed request trace log with the new rules?&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1908004.aspx</link><pubDate>Tue, 23 Jun 2009 17:59:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908004</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908004.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1908004</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That gets me a little further I think but once I flipped the key value pairs and enter http://domain.com/12345 it actuall redirected me to http://domain.com/server/xhtml/user/fi12345 showing me them the &amp;quot;defaultValue&amp;quot; page.&lt;/p&gt;&lt;p&gt;If I change&lt;br /&gt;&amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;http://172.28.75.31:90{C:0}&amp;quot; /&amp;gt;&lt;br /&gt;to&lt;br /&gt;&amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;http://172.28.75.31:90{C:1}&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;IIS responds with a 502 error. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1907988.aspx</link><pubDate>Tue, 23 Jun 2009 16:34:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907988</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907988.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1907988</wfw:commentRss><description>&lt;p&gt;Your rewriteMap should look like this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;rewriteMap name=&amp;quot;StaticMap&amp;quot; defaultValue=&amp;quot;/server/&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key=&amp;quot;54321&amp;quot; value=&amp;quot;/server/xhtml/user/fi54321&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key=&amp;quot;12345&amp;quot; value=&amp;quot;/server/xhtml/user/fi12345&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/rewriteMap&amp;gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Reverse Proxy using Rewrite Maps</title><link>http://forums.iis.net/thread/1907961.aspx</link><pubDate>Tue, 23 Jun 2009 13:52:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907961</guid><dc:creator>micxba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907961.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1907961</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have basic reverse proxys working but I would like to use Rewrite Maps as I potentially have many static pairs that I need to match, not conforming to a standard necessarily.&lt;/p&gt;&lt;p&gt;Currently I have the following rule.&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;rules&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;ReverseProxy&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;{StaticMap:{Request_URI}}&amp;quot; pattern=&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&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;http://172.28.75.31:90{C:0}&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;/rules&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;rewriteMaps&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;rewriteMap name=&amp;quot;StaticMap&amp;quot; defaultValue=&amp;quot;/server/&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;add key=&amp;quot;/server/xhtml/user/fi54321&amp;quot; value=&amp;quot;/54321&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;add key=&amp;quot;/server/xhtml/user/fi12345&amp;quot; value=&amp;quot;/12345&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;/rewriteMap&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;/rewriteMaps&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;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So basically I want&amp;nbsp; http://mydomain.com/54321 to get rewritten to http://172.28.75.31:90/server/xhtml/user/fi54321&lt;/p&gt;&lt;p&gt;When I enter&amp;nbsp; http://mydomain.com/54321 I get a 404. After putting in the defaultValue for the rewriteMap it hits that /server/ folder so it appears neither of the two map items actually matches. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>