title: Using mod_rewrite to create a RESTful URL format
body: <p>I have a webpage <code>http://mydomain.com/form.php?id=123</code> , 
  I need to keep this format for old functionality , and to implement a new functionality so the user could access this page like this <code>http://mydomain.com/123</code>.</p>
  
  <ol>
  <li>So the client will see this <code>http://mydomain.com/123</code>.</li>
  <li>And the server will understand as old version <code>http://mydomain.com/form.php?id=123</code>.</li>
  </ol>
  
  <p>So this way I don't have to change the old functionality.
  I know that this can be accomplished through HTaccess rule. but don't know how.
  Please help. Thanks.</p>