title: Cakephp assets not fetching from webroot folder.. missing js & css,
body: <p>I've been building on localhost and all this stuff works perfectly. Now trying to load the site on a shared host. I've worked through most of the issues and actually have a working site but without any css. </p>
  
  <p>Layout:
  My app is in: /home/cake/app</p>
  
  <p>public_html is in: /home/public_html</p>
  
  <p>In public_html/index.php, the only way I was able to get rid of missing file errors was to do this...</p>
  
  <pre><code>require '../cake/app/webroot' . DIRECTORY_SEPARATOR . 'index.php';
  </code></pre>
  
  <p>The .htaccess in public_html: </p>
  
  <pre><code> &lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^(.*)$ index.php [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>My app was baked from the command line.
  All of the index.php and .htaccess files up through the chain are untouched.</p>
  
  <pre><code>/cake
  /cake/webroot
  /cake/app
  /cake/app/webroot
  </code></pre>
  
  <p>It just can't find the path to all the css and js files. 
  in my default.ctp, I used the standard html helper links. </p>
  
  <pre><code>echo $this-&gt;Html-&gt;css('default');
  </code></pre>
  
  <p>I'm at the end of the proverbial rope. Any help appreciated.
  On localhost, I point the apache directory at /cake/app, but I'm pretty sure I don't have access to apache config files on a shared host, hence the reason I pointed the public_html index.php at /cake/app. Probably not right, but it felt like I was moving in the right direction since the site started working.</p>