title: Stop Website Directory Listing
body: <p>I have a small annoyance with the website I'm developing(in Codeigniter) - when the website isn't cached in my browser and I connect to it , for a second or two I see a directory listing of my root (after 1-2 seconds the listing stops and the website displays ok). </p>
  
  <p>I've read that I can try to prevent this with .htaccess files so I have this written in the first line  - </p>
  
  <pre><code>IndexIgnore *
  </code></pre>
  
  <p>But it doesn't help . 
  Any advice ? </p>