<?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: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909927.aspx</link><pubDate>Fri, 10 Jul 2009 17:33:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909927</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909927.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909927</wfw:commentRss><description>&lt;p&gt;That is unfortunately not possible, we have 5 sites on this server that need this subdomain url rewriting. So it should work on all of them or none.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909923.aspx</link><pubDate>Fri, 10 Jul 2009 17:19:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909923</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909923.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909923</wfw:commentRss><description>&lt;p&gt;Unfortunately, it is not possible to use *.domain.com for host binding. &lt;/p&gt;
&lt;p&gt;Adding 6000 bindings is not practical, so the only solution I can think of is to change the binding on this site to&amp;nbsp;empty host header, so that it gets all the requests. You will need to update the binding on the &amp;quot;Default Web Site&amp;quot; to not conflict with this site.&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909919.aspx</link><pubDate>Fri, 10 Jul 2009 16:38:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909919</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909919.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909919</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, it is a separate web site. There are 2 bindings:&lt;/p&gt;&lt;p&gt;www.domain.com&lt;br /&gt;domain.com&lt;/p&gt;&lt;p&gt;So you are saying we have to add a binding for every of the 6.000 users we have at the moment?&lt;/p&gt;&lt;p&gt;user1.domain.com&lt;br /&gt;user2.domain.com&lt;br /&gt;...&lt;/p&gt;&lt;p&gt;Isn&amp;#39;t there some other solution, something like *.domain.com?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909915.aspx</link><pubDate>Fri, 10 Jul 2009 16:08:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909915</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909915.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909915</wfw:commentRss><description>&lt;p&gt;Is this a separate IIS web site, different from the &amp;quot;Default Web Site&amp;quot;? If yes, then what are the host header bindings on that site? You need to explicitly add bindings for every subdomain, otherwise the requests will be routed to the &amp;quot;Default Web Site&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909851.aspx</link><pubDate>Fri, 10 Jul 2009 09:38:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909851</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909851.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909851</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I tried that but nothing gets written in the log. Other rules do, like this one for ex.&lt;/p&gt;&lt;p&gt;&amp;lt;rule name=&amp;quot;Rewrite to article.aspx&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;lt;match url=&amp;quot;^article/([0-9]+)/([_0-9a-z-]+)&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;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;article.aspx?id={R:1}&amp;amp;amp;title={R:2}&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;/p&gt;&lt;p&gt;So I believe I have set the tracing Ok.&lt;/p&gt;&lt;p&gt;I simply get the error &amp;quot;Server not found...&amp;quot;. &lt;/p&gt;&lt;p&gt;After that I returned the following line to the DNS zones configuration:&lt;br /&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; xxx.xxx.xxx.xxx&lt;br /&gt;Without it, there were problems, for ex. pop.domain.com didn&amp;#39;t work anymore.&lt;/p&gt;&lt;p&gt;No I am getting the IIS welcome page again for the subdomain rule and nothing gets written in the logs. The Article rule works fine. &lt;/p&gt;&lt;p&gt;As if this request never gets to the point where the rule should be applied. Could there be something else in the IIS configuration that would block subdomain requests? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909833.aspx</link><pubDate>Fri, 10 Jul 2009 06:54:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909833</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909833.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909833</wfw:commentRss><description>&lt;p&gt;The only thing I can suggest is to try using &lt;a href="http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/"&gt;Failed Request Tracing&lt;/a&gt; to see if/how the rule is applied.&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909716.aspx</link><pubDate>Thu, 09 Jul 2009 11:40:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909716</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909716.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909716</wfw:commentRss><description>&lt;p&gt;If you check my first post in this topic, it was {R:1}. Anyway, I tried both but it still doesn&amp;#39;t work. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909631.aspx</link><pubDate>Wed, 08 Jul 2009 18:05:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909631</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909631.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909631</wfw:commentRss><description>&lt;p&gt;In the previous rule example you used subdomain as a query string parameter, e.g.:&lt;/p&gt;
&lt;p&gt;users.aspx?name={C:1}&lt;/p&gt;
&lt;p&gt;Now, you have changed that to &lt;/p&gt;
&lt;p&gt;users.aspx?name={R:1}&lt;/p&gt;
&lt;p&gt;Is this an intended change?&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909582.aspx</link><pubDate>Wed, 08 Jul 2009 12:37:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909582</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909582.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909582</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think I know why I allways got IIS welcome page, it was due to configuration of the DNS zone:&lt;/p&gt;&lt;p&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; xxx.xxx.xxx.xxx&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I removed that line, now I don&amp;#39;t get IIS welcome page any more, but it still doesn&amp;#39;t work with the above rule. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1909573.aspx</link><pubDate>Wed, 08 Jul 2009 10:56:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909573</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909573.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1909573</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m back.&lt;br /&gt;I am testing the whole thing on the production server now and I have some problems.&lt;br /&gt;&lt;br /&gt;So the subdomain rule I am using is:&lt;br /&gt;&lt;br /&gt;&amp;lt;rule name=&amp;quot;subdomain&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;([a-zA-Z]+)&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add input=&amp;quot;{HTTP_HOST}&amp;quot; pattern=&amp;quot;^[^.]+\.domain\.com&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_FILENAME}&amp;quot; matchType=&amp;quot;IsFile&amp;quot; negate=&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add input=&amp;quot;{REQUEST_FILENAME}&amp;quot; matchType=&amp;quot;IsDirectory&amp;quot; negate=&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;/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;users.aspx?name={R:1}&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;&lt;br /&gt;But when I try with for ex. test.domain.com, I get the IIS7 default welcome page.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1903611.aspx</link><pubDate>Wed, 13 May 2009 18:03:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903611</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903611.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1903611</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s it, the rule &amp;quot;subdomain&amp;quot; from my 1. post was the problem.&lt;/p&gt;&lt;p&gt;I simply moved the &amp;quot;SubDomainPictures&amp;quot; rule up and marked &amp;quot;Stop processing of subsequent rules&amp;quot;.&lt;/p&gt;&lt;p&gt;Works now, thank you very much. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1903603.aspx</link><pubDate>Wed, 13 May 2009 16:39:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903603</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903603.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1903603</wfw:commentRss><description>&lt;p&gt;Do you have any other rules or is that the only rule you have? If you have another rule before the one for the /pictures, then it may be possible that preceeding rule rewrites the URL and it never reaches the /pictures rule.&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1903600.aspx</link><pubDate>Wed, 13 May 2009 16:26:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903600</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903600.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1903600</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;No, it doesn&amp;#39;t result in 404, it just isn&amp;#39;t there.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1903511.aspx</link><pubDate>Wed, 13 May 2009 02:22:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903511</guid><dc:creator>ruslany</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903511.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1903511</wfw:commentRss><description>&lt;p&gt;The patttern that you have specified will not work because the &amp;lt;match&amp;gt; element evaluates the URL path only. The URL path will never contain domain.com hence the pattern will never match.&lt;/p&gt;
&lt;p&gt;Take a look at this article that describes how the URL parts are accessed in a rewrite rule: &lt;a href="http://learn.iis.net/page.aspx/465/url-rewrite-module-configuration-reference/#Accessing_URL_Parts_from_a_Rewrite_Rule"&gt;http://learn.iis.net/page.aspx/465/url-rewrite-module-configuration-reference/#Accessing_URL_Parts_from_a_Rewrite_Rule&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The rule that I gave before should work. When you say it does not work - does&amp;nbsp;the request to http://user1.domain.com/pictures&amp;nbsp;result in 404 or it&amp;nbsp;gets rewritten&amp;nbsp;but the pictures=1 is not there? &lt;/p&gt;</description></item><item><title>Re: URL rewrite on localhost</title><link>http://forums.iis.net/thread/1903492.aspx</link><pubDate>Tue, 12 May 2009 21:39:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903492</guid><dc:creator>dbalasko</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903492.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1152&amp;PostID=1903492</wfw:commentRss><description>&lt;p&gt;I have tried it, but it doesn&amp;#39; work. I have tried with some modifications:&lt;/p&gt;&lt;p&gt;&amp;lt;rule name=&amp;quot;SubDomainPictures&amp;quot; stopProcessing=&amp;quot;false&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;domain.com/pictures$&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add input=&amp;quot;{HTTP_HOST}&amp;quot; pattern=&amp;quot;^([^.]+)\.domain\.com&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;user.aspx?pictures=1&amp;amp;amp;name={C:1}&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;/p&gt;&lt;p&gt;I have changed the match condition because in your case (&amp;quot;^pictures&amp;quot;), the url should start with &amp;quot;pictures&amp;quot; but it doesn&amp;#39;t, it comes at the end (http://user1.domain.com/pictures).&lt;br /&gt;I also removed the &amp;quot;&amp;amp;&amp;quot; sign in the pattern since there is &amp;quot;/pictures&amp;quot; after &amp;quot;.com&amp;quot;.&lt;/p&gt;&lt;p&gt;But it still doesn&amp;#39;t work !?&lt;br /&gt;When I test it in IIS url rewrite module, both url match and pattern pass.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>