title: htaccess not working if put in sub directory
body: <p>Apache wont load my .htaccess file in my alias directory.</p>
  
  <p>if i put the .htaccess file in my root folder (D:/Development) and project folder (D:/Development/code/project), </p>
  
  <p><code>http://localhost/filename.html</code>
  redirects me to stackoverflow.</p>
  
  <p><code>http://localhost/project/filename.html</code>
   returns not found 404.</p>
  
  <p>I'm running xampp on windows 7 64 bit.</p>
  
  <p>Why cant i use my .htaccess in my sub directory?</p>
  
  <p>httpd.conf:</p>
  
  <pre><code>&lt;Directory /&gt;
      Options +FollowSymLinks
      AllowOverride All
      Order allow,deny
      Deny from all
  &lt;/Directory&gt;
  &lt;Directory "D:/Development"&gt;
      Options +Indexes +FollowSymLinks +Includes +ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>httpd-vhosts.conf:</p>
  
  <pre><code> Alias /project "D:/Development/code/project/"
   &lt;Directory "D:/Development/code/project/"&gt;
      Options +FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>.htaccess (redirect is for testing):</p>
  
  <pre><code>redirect 301 /filename.html http://stackoverflow.com
  AddDefaultCharset utf-8
  RewriteEngine ON
  RewriteRule ^(stylesheet|images|favicon) - [L]
  
  RewriteCond %{REQUEST_FILENAME} !-f
  
  RewriteRule ^.*$ /index.php [NC,L]
  </code></pre>