title: prevent direct URL access to php and html pages via .htaccess
body: <p>I know direct URL access can be prevented via .htaccess rules but I don't know much about meta-chars or escaping.</p>
  
  <blockquote>
    <p>these are the files in my xammp/htdocs folder, accessed using
    localhost:</p>
  </blockquote>
  
  <pre><code>index.php
  createScheme.php
  several someother.php
  </code></pre>
  
  <p>I want direct access to be enabled only for index.php and createScheme.php and all others pages should be blocked against direct access.</p>
  
  <p>Please help!</p>