title: IIS 6 URL Rewrtting for multiple locations from Query String
body: <p>I have two websites urls which are running in IIS 6, pointed to the same web.config file.</p>
  
  <p>(IIS 6 dont have IIS 7 URL rewriting available) so they use 3rdparty tool to do the url rewriting, </p>
  
  <p><a href="http://our.umbraco.org/forum/developers/extending-umbraco/2600-Using-UrlRewriting-to-redirect-domain" rel="nofollow">http://our.umbraco.org/forum/developers/extending-umbraco/2600-Using-UrlRewriting-to-redirect-domain</a></p>
  
  <p>so what i want to do is </p>
  
  <p>if someone type the following in the browser (website 1)</p>
  
  <p>y.xxx.com/something -> </p>
  
  <p>they need to be redirected to </p>
  
  <p><a href="http://y.xxx.com/per/found/" rel="nofollow">http://y.xxx.com/per/found/</a></p>
  
  <p>but if they type the second domain  (website 2 still using the same web.config file, same folder) </p>
  
  <p>zzz.com </p>
  
  <p>they need to stay where they are.</p>
  
  <p>I try to did this but didnt work </p>
  
  <pre><code>&lt;add name="just-a-name-which-one"  
     redirect="Domain" 
     ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
     virtualUrl="http://xxx.com/(.*)"   
  redirectMode="Permanent" 
  destinationUrl="http://xxx.com/something/" 
  /&gt;
  </code></pre>
  
  <p>how can achieve this functionality ? using IIS-6 ..</p>