title: How to use form POST Method in .htaccess to pass values
body: <p>We are using <code>.htaccess</code> to rewrite URLs. For example we use the following method:</p>
  
  <pre><code>rewriterule ^profile/([^?/]+)/?$ file.php?name=$1 [NC]
  </code></pre>
  
  <p>and on <code>file.php</code> we use the following GET method to receive value from name query string</p>
  
  <pre><code>$name=$_GET['name'];
  </code></pre>
  
  <p>Now the issue is I do not want to use this GET method. I do not want to use query string method. I want to use form POST method in <code>.htaccess</code> file.</p>
  
  <p>I tried the following method:</p>
  
  <pre><code>RewriteCond %{REQUEST_METHOD} !^(POST)$
  </code></pre>
  
  <p>but I do not know how to use this method.</p>