title: Deny access multiple .php files with .htaccess?
body: <p>I want to deny access to multiple PHP files in directory <code>/all/cstl/</code>.</p>
  
  <p>My .htaccess is also stored in this directory.</p>
  
  <p>This is my current code and it's not working.</p>
  
  <pre><code>&lt;Files "\ (config.php|function.php|include.php)"&gt;
    Order allow,deny
    Deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>I have tried to deny the directory and allow specific files but it denies the directory and does not allow the requested .php files. My code for this is:</p>
  
  <pre><code>&lt;Directory /&gt;
      Order deny,allow
      Deny from all
  &lt;Directory&gt;
  
  &lt;Files "index.php|post.php"&gt;
      Order deny,allow
      Deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>Please give me some example of blocking access to multiple specific files within a directory.</p>