title: Cakephp site gone white after setting up .htaccess in subfolder
body: <p>I have installed cakephp on main directory "<a href="http://mydomain.com" rel="nofollow">http://mydomain.com</a>". I want to update my site so instead of changine directly I copied the site to subfolder called "<a href="http://mydomain.com/subfolder" rel="nofollow">http://mydomain.com/subfolder</a>".</p>
  
  <p>I also set .htaccess as described on many forums like for root of subfolder</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine on
      RewriteBase /subfolder/app/
      RewriteRule ^$  webroot/    [L]
      RewriteRule (.*) webroot/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Problem is that site goes white (no contents) after setting up .htacess, but if I remove .htaccess it consider the subfolder as a page and show 404 message (Page not found).</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks all viewers and helpers.</p>