title: PHP get parameter with forward slash
body: <p>I've been trying to configure my .htaccess file to get the following result:</p>
  
  <p>When a parameter (in this case an email) is passed with a forward slash "/" my index.php file will get this parameter. But i think there is something wrong.</p>
  
  <p>The correct way to call the method: <a href="http://localhost.com/method/info@email.com" rel="nofollow noreferrer">http://localhost.com/method/info@email.com</a></p>
  
  <p>The way without the .htaccess: <a href="http://localhost.com/method/index.php?email=info@email.com" rel="nofollow noreferrer">http://localhost.com/method/index.php?email=info@email.com</a> </p>
  
  <p>But even with when i configure the .htaccess:</p>
  
  <pre><code>&lt;ifmodule mod_rewrite.c&gt;
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^([^.]+)/?$ index.php?email=$1 [QSA,L] 
  &lt;/ifmodule&gt;
  </code></pre>
  
  <p>The following error occurs:</p>
  
  <p>Not Found
  The requested URL localhost/method/info@email.com was not found on this server.</p>
  
  <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>
  
  <p>Am i missing something in the .htaccess file?</p>
  
  <p>Thanks in advance.</p>