title: mod_rewrite: strip away subdomain and convert to URL parameter
body: <p>I have a web app, where I keep a subdomain for every client eg: <a href="http://clientNo32.myApp.com" rel="nofollow">http://clientNo32.myApp.com</a>
  Due to some server hazzling I have to forward this stuff to my new server at <a href="http://123.456.78:1002/clientNo32/app/index.php" rel="nofollow">http://123.456.78:1002/clientNo32/app/index.php</a></p>
  
  <p>The folder "clientNo32" does NOT exist, it's only a parameter I want to get from the URL. </p>
  
  <p>How can I achieve this? </p>