title: Cake PHP issues on start
body: <p>I have css and js inside webroot folder, but all are not loading ...</p>
  
  <p>It gets an error in firebug</p>
  
  <pre><code>"NetworkError: 500 Internal Server Error - http://localhost/cakephp/"
  "NetworkError: 404 Not Found - http://localhost/cakephp/css/common.css"
  "NetworkError: 404 Not Found - http://localhost/cakephp/js/common.js"
  </code></pre>
  
  <p>My Base folder is <strong>cakephp</strong>. But some contents is displaying in page(http://localhost/cakephp/) with no style. Contents are coming from database.</p>
  
  <p>Main Redirect links are also not working...</p>
  
  <blockquote>
    <p>The requested URL /cakephp/videos/list was not found on this server.</p>
  </blockquote>
  
  <p>Only Home page is showing contents...</p>
  
  <p>Layout page</p>
  
  <pre><code>echo $this-&gt;Html-&gt;css('common');
  echo $this-&gt;Html-&gt;css('dialog');
  echo $this-&gt;Html-&gt;script('jquery.min'); 
  echo $this-&gt;Html-&gt;script('common'); 
  </code></pre>
  
  <p>.htaccess</p>
  
  <pre><code># compress text, html, javascript, css, xml:
  SetOutputFilter DEFLATE
  &lt;IfModule mod_rewrite.c&gt;
     RewriteEngine on
     RewriteRule    ^$ app/webroot/    [L]
     RewriteRule    (.*) app/webroot/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>app/.htaccess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine on
      RewriteRule    ^$    webroot/    [L]
      RewriteRule    (.*) webroot/$1    [L]
   &lt;/IfModule&gt;
  </code></pre>
  
  <p>app/webroot/.htaccess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>