title: Apache rewrite URL but don't rewrite certain folder
body: <p>I am using Apache to rewrite my URLs into clean URLs.</p>
  
  <pre><code>RewriteRule ^(.*) index.php
  </code></pre>
  
  <p>Currently this rewrites directories too, which is what I want, since I want everything run through my router/index.php file.</p>
  
  <p>What I would like to do however, is have one folder that I can access directly.  This is for lib files such as .js and .css files.  I know how to do this with an Alias, but I can't use that in a .htaccess file, which I need to use.</p>
  
  <p>How can I not rewrite a specific folder, eg. called "lib"?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I did find the following example of how to fake an Alias in .htaccess, but I can't get it working:</p>
  
  <pre><code>RewriteRule /old-folder /new-folder [PT]
  </code></pre>