title: Apache loads any file that begins with the same string as used in url. How to prevent this?
body: <p>If I point to:</p>
  
  <p><em>mywebsite.com/search</em></p>
  
  <p>and there is a file called <em>search.php</em> or <em>search.html</em> or <em>search.inc.php</em> or <em>search.whatthehell.php</em> in website's directory, Apache will point to that file instead of 404'ing.</p>
  
  <p>What is even more annoying is that if I point to:</p>
  
  <p><em>mywebsite.com/search/string?also=whatever</em></p>
  
  <p>Apache will still display any file with filename that begins with "search.".</p>
  
  <p>Also, all RewriteRules with patterns containing filenames existing in directory are ignored/useless.</p>
  
  <p>I'm using Apache 2 on Mac, unmodified httpd.conf. How do I prevent it from redirecting my urls so freely?</p>