title: Blocking specific file extension with htaccess?
body: <p>I am using this code to send all the request to a single php file:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule (.*) myfile.php?id=$1 [QSA,L]
  </code></pre>
  
  <p>But now I want to also block <strong>direct access</strong> to myfile.php and other phps. I don't want the php files to open directly via browser, but they must work for includes and such.</p>
  
  <p>How can I do this?</p>