title: .htaccess config with symbolic links and index files not working as expected
body: <p>Like a lot of web developers, I like to use .htaccess to direct all traffic to a domain through a single point of entry when the request isn't for a file that exists in the publicly served directory.</p>
  
  <p>So something like this:</p>
  
  <pre><code>RewriteEngine On
  # enable symbolic links
  Options +FollowSymLinks
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.+) index.php [L]
  </code></pre>
  
  <p>This means if the request isn't for a css file or an image, my index.php gets the request and I can choose what to do (serve up some content or perhaps a 404)</p>
  
  <p>Works great, but I've stumbled upon an issue it can't seem to help me solve.</p>
  
  <p>My document root looks like this:</p>
  
  <pre><code>asymboliclink -&gt; /somewhere/else
  css
  .htaccess
  img
  includes
  index.php
  </code></pre>
  
  <p>Yet, Apache doesn't see the symbolic link to a directory as a directory. It passes the request on to my index.php in the root. I want to serve the link as if it were a folder as it is a link to a folder with it's own index.php. I can access <a href="http://example.com/asymboliclink/index.php">http://example.com/asymboliclink/index.php</a> by typing it in the address bar of a browser, but I want to be able to access it through <a href="http://example.com/asymboliclink">http://example.com/asymboliclink</a></p>
  
  <p>What do I need to add to my .htaccess file to make this happen?</p>