title: HTaccess Rule To Tidy Up REST API requests
body: <p>I have an API server that I am working on it currently accepts requests through $_GET variables like below</p>
  
  <pre><code>http://localhost/request.php?method=get&amp;action=query_users&amp;id=1138ab9bce298fe35553827792794394&amp;time=1319225314&amp;signature=d2325dedc41bd3bb7dc3f7c4fd6f081d95af1000
  </code></pre>
  
  <p>I need help creating a HTaccess rule that can read urls that replace the '&amp;' with '/' and also the '=' and '?' with '/' to create a clean url like</p>
  
  <pre><code>http://localhost/request/method/get/action/query_users/id/1138ab9bce298fe35553827792794394/time/1319225314/signature/d2325dedc41bd3bb7dc3f7c4fd6f081d95af1000
  </code></pre>
  
  <p>Is there any way of doing this whilst still keeping the get parameters intact for the api to work from?</p>
  
  <p>Also this is not the only request there are different requests that will be made.</p>
  
  <p>Stackoverflow is always the place to go for expert advice so thanks in advance</p>