title: GET a full url from HTACCESS file
body: <p>I have this code:</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  
  RewriteRule ^(.+)$ index.php?path=$1 [L,QSA,NC]
  </code></pre>
  
  <p>The problem is that <code>$_GET['path']</code> doesn't gets the full URL, only what after the first slash. For example. I want that when user will enter to example.com/hello, him to be redirected (without rewriting the url) to <code>example.com/index.php?path=example.com/hello</code>. How can I do it?</p>