title: How to rewrite any url that doesn't match a specific pattern
body: <p>I want to rewrite any url that doesn't match the pattern <code>*.php</code></p>
  
  <p>Example: <code>domain.com/abc.html</code> or <code>domain.com/abc</code>  should be rewritten to  <code>domain.com/abc.php</code></p>