title: How to stop sub directory inheriting parent's htaccess rules
body: <p>My main public_html directory has the following .htaccess rules:</p>
  
  <pre><code>Options +FollowSymLinks
  IndexIgnore */*
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  
  # if a directory or a file exists, use it directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  # otherwise forward it to index.php
  RewriteRule . index.php
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>The problem is, I then have a subdirectory called source, and I want that directory to just list the files within it (because there is no index file). The problem is the above parent directory's htaccess rules are causing no files in source to be shown in the directory index (it just lists a blank index).</p>
  
  <p>How can I solve this?</p>
  
  <p>THANKS</p>