title: Images won't display unless directory name begins with underscore
body: <p>I'm setting up a gallery.  Images are inside a directory called 'gallery' on my localhost.  Same thing for for my host server (1and1).</p>
  
  <p>So, the issue is that when the actual directory is named 'gallery' the images don't display.  But, when I rename the directory with an underscore such as:  _gallery the images display properly.</p>
  
  <p>The code that is suppose to work is a simple straight-up html code, but no dice:</p>
  
  <pre><code>&lt;div class="client-gallery"&gt;
      &lt;img src="gallery/picture-01.jpg" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So, in order for it to display the images, I have to create the directory as "_gallery" and of course the code:</p>
  
  <pre><code>&lt;div class="client-gallery"&gt;
      &lt;img src="_gallery/picture-01.jpg" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm thinking it may be something to do with my Rewrites:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^project-details/([a-zA-Z0-9-]+)/ project-details.php?pn=$1 [NC,L]
  Rewriterule ^([a-zA-Z0-9-]+)/ $1.php [NC,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I could just leave the directory as _gallery, but that doesn't let me know what the heck is going on with the file.  Any help is greatly appreciated.</p>
  
  <p>The set up is your basic set up.  The files have a basic PHP include_once callers since I separated the header, footer, jscripts, etc.  Other than that...it's straight forward and frustrating I'm having a brain fart and unable to figure it out.</p>
  
  <p>Thanks.</p>