title: Prevent direct access to .htaccess file
body: <p>i need to prevent access to <code>.htaccess</code> file. my file is:</p>
  
  <pre><code># secure htaccess file
  &lt;Files .htaccess&gt;
   order allow,deny
   deny from all
  &lt;/Files&gt;
  
  # disable directory browsing
  Options All -Indexes
  </code></pre>
  
  <p>when i check URL :</p>
  
  <p><code>http://localhost/cms/htaccess</code></p>
  
  <p>I see <code>.htaccess</code> file data</p>
  
  <p>How do i can <code>prevent/deny</code> access to <code>.htaccess</code> file?</p>