title: Helicon Tech - ISAPI_Rewrite: RewriteRule's for specific domains
body: <p>Could someone help me translate the following pseudo-code into code understood by <a href="http://www.isapirewrite.com/" rel="nofollow noreferrer">Helicon Tech's ISAPI_Rewrite module</a>:</p>
  
  <pre><code>if (domain == something.com OR domain == www.something.com)
  {
      // The rules inside this scope will only apply to the domain:
      // something.com / www.something.com
  
      // This should match "something.com/test" and/or "www.something.com/test"
      RewriteRule /something /something/something.aspx
  }
  
  
  if (domain == test.com OR domain == www.test.com)
  {
      // The rules inside this scope will only apply to the domain:
      // test.com / www.test.com
  
      // This should match "test.com/test" and/or "www.test.com/test"
      RewriteRule /test /test/test.aspx
  }
  </code></pre>
  
  <p>The <a href="http://www.isapirewrite.com/docs/" rel="nofollow noreferrer">documentation</a> is very confusing to me.</p>
  
  <p>Any and all help is much appreciated. </p>