title: .htaccess deny files in subfolders
body: <p>I want to block access to "sub/folder/index.php", but not "index.php" anywhere else.</p>
  
  <pre><code>&lt;Files index.php&gt;
      Order allow,deny
      Deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>works but blocks all "index.php" files.</p>
  
  <pre><code>&lt;Files sub/folder/index.php&gt;
      Order allow,deny
      Deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>doesn't work. Do I need to use <code>&lt;Directory&gt;</code>?</p>
  
  <p><strong>I don't want to create an .htaccess file in the sub/folder</strong></p>
  
  <p><strong>I don't have access to httpd.conf</strong></p>
  
  <p><strong>I don't want to block everything in sub/directory</strong></p>
  
  <p>If it were that easy, I wouldn't be asking ;)</p>