title: How can I use an exception to a RewriteRule redirect?
body: <p>I have the following in my <code>.htaccess</code> file</p>
  
  <pre><code>RewriteRule ^post/(.*)$ index.php?post=$1 [NC]
  RewriteRule ^(.*)$ index.php?page=$1 [NC]
  </code></pre>
  
  <p>I expect it to rewrite (for example) <code>mysite.com/x</code> to <code>mysite.com/index.php?page=x</code>, with the exception of <code>mysite.com/post/x</code> rewritten to <code>mysite.com/index.php?post=x</code>, however it doesn't work.</p>