title: .htaccess rewriterule with backslashes in regex
body: <p>I want to 'catch' an URL with .htaccess rewriterule. How can I add backslashes to the rewriterule?</p>
  
  <p>For example:</p>
  
  <ul>
  <li><a href="http://www.example.com/page1" rel="nofollow noreferrer">http://www.example.com/page1</a> -> index.php?page=page1</li>
  <li><a href="http://www.example.com/page1/subpage1" rel="nofollow noreferrer">http://www.example.com/page1/subpage1</a> -> index.php?page=page1/subpage1</li>
  </ul>
  
  <p>As you can see, I want the backslash between 'page1' and 'subpage1' IN the rewriterule, because the path can be variable (more subpages).</p>
  
  <p>I tried this:</p>
  
  <pre><code>RewriteRule ^(.*)$ /index.php?page=$1 [NC,L,QSA]
  </code></pre>
  
  <p>But then I get an Internal Server Error.</p>
  
  <p>Thanks in advance!</p>