title: How do I disable CakePHP rewrite routing for a single folder so it can be used as a location for a second application?
body: <p>I have a cakephp installation in the root of my domain. Now it turns out I need to put another app in there that will reside in a subdirectory. How do I disable the controller/model redirection in cake for just this directory?</p>
  
  <p>The current .htaccess in the root folder looks like this:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
     RewriteEngine on
     RewriteRule    ^$ app/webroot/    [L]
     RewriteRule    (.*) app/webroot/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I've tried modifying it like this, but to no avail:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
     RewriteEngine on
     RewriteRule    ^bildbank$ /bildbank/ [L]
     RewriteRule    ^$ app/webroot/    [L]
     RewriteRule    (.*) app/webroot/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I am aware that this is a bit of a hack, but there's no way I can get the second app to play nice with cake.</p>