title: How to allow only one file in Apache
body: <p>I have a bootstrap file which is <code>index.php</code> and I only allow this page to be called by people not other ones.</p>
  
  <p>I've come up with the code below and I received an Internal 500 error. I like to show the log files but I cannot since I am running this on the shared hosting but what I know is it is CGI mode.</p>
  
  <p>I put that code in <code>.htaccess</code>and received error and put it in <code>php.ini</code> and didn't work.</p>
  
  <pre><code>&lt;File /index.php&gt;
    Allow from all
    Require None
    Satisfy Any
  &lt;/File&gt;
  </code></pre>
  
  <p>What's I am doing wrong?</p>