title: How do I avoid a 500 error with .php hiding using mod_rewrite?
body: <p>I have got this in my .htaccess file:</p>
  
  <pre><code>    ErrorDocument 403 /403.php
      ErrorDocument 404 /404.php
      Options -MultiViews
      RewriteEngine On
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ $1.php [L]
  </code></pre>
  
  <p>When I try to access a page or directory that isn't there, I get 'Error 500 - internal server error'. I am using GoDaddy, if it is relevant.</p>