title: .htaccess rewrite rule to change a path to a query string
body: <p>I'm working on a project and need some help with rewriting some URLS...</p>
  
  <p>We have a URL such as </p>
  
  <pre><code>http://www.example.com/page/a-c/
  </code></pre>
  
  <p>I need it to be interpreted by the server as:</p>
  
  <pre><code>http://www.example.com/file.php?source=a-c
  </code></pre>
  
  <p>My .htaccess rewrite skills are not that great!</p>