title: Cant get a RewriteRule work
body: <p>I am working on a small dynamic website with php, and try to create a rewrite so the urls look more nice. (I use XAMPP)</p>
  
  <p>The rootfolder is current "localhost/students".
  First of all does the <code>.htaccess</code>need to be inside of that folder or of the localhost folder?</p>
  
  <p>Secondary, i want all my requests go to the <code>index.php</code> but do not show "index.php". Moreover i'd love to rewrite something like <code>students\index.php?site=question&amp;question=1</code> to <code>students\question\1</code></p>
  
  <p>So i tried to get started like this:</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /students
  RewriteRule ^/question/([0-9]+)$   index.php?site=question&amp;question=$1
  </code></pre>
  
  <p>But this does actually nothing. How do i do it right? Is there a better solution to rewrite the urls?</p>
  
  <p>Last but not least is it possible to copy past that url to access the same website again? I do catch the <code>$_GET('site)</code> to generate the right content.</p>