title: Redirect in subfolder based on url
body: <p>I plan to run multiple sites on that server.</p>
  
  <p>I looked arround a bit but only found rather cryptic stuff i can't work with.</p>
  
  <p>So basically all projects reside in their subfolder in /var/www/. Multiple sites go with multiple domains, so what I want to accomplish is this:</p>
  
  <p><a href="http://example.com" rel="nofollow">http://example.com</a> goes to my xx.xx.xx (serverip) and loads the site in /var/www/example/publicdir/index.php</p>
  
  <p><a href="http://something.else" rel="nofollow">http://something.else</a> maps to /var/www/something/publicdir/index.php</p>
  
  <p>Is it something that needs to be done in the apache on the server via virtualhosts? I'm completely clueless</p>
  
  <p>Oh yeah I have an extra condition, I dont want 301 Redirects</p>
  
  <p>I hope you can get through my babbling, my head feels like jelly since I'm trying to get it done for a few hours</p>