title: htaccess multiple subdomain to multiple url's
body: <p>I'm not sure how to best approach this.</p>
  
  <p>We have several salespeople here and each want a subdomain ie: </p>
  
  <pre><code>http://johndoe.mydomain.com  
  </code></pre>
  
  <p>However, we have all of their profiles on the site displayed dynamically, IE:   </p>
  
  <pre><code>http://mydomain.com/sales/index.php?person=jdoe
  </code></pre>
  
  <p>We have about 15 salespeople, and eventually I will have time to script this out as new profiles are entered.  For now, I can hand edit a .htaccess file if need be.  All of the examples I have seen seem to redirect to a specific domain or subfolder.  How should I approach this?</p>
  
  <p>Thanks for the help!</p>