title: Weird errors when loading Magento page
body: <p>When I load my frontend my browser returns those weird errors:</p>
  
  <pre><code>Uncaught ReferenceError: Mage is not defined
  Uncaught ReferenceError: Varien is not defined
  Uncaught ReferenceError: decorateGeneric is not defined
  Uncaught ReferenceError: VarienForm is not defined
  Uncaught ReferenceError: VarienForm is not defined
  </code></pre>
  
  <p>And when I try to access my backend via /admin I'm being redirected to the frontend (home).</p>
  
  <p>Tried a million things to detect whats going on but nothing seems to work.</p>
  
  <p>My Apache error.log is full of entries like:</p>
  
  <pre><code>File does not exist: /var/www/skin
  script '/var/www/index.php' not found or unable to stat
  script '/var/www/cron.php' not found or unable to stat
  </code></pre>
  
  <p><strong>By the way, my magento install isn't on /var/www, it's placed on /var/www/magento</strong></p>
  
  <p>What am I doing wrong? Can I get some help pretty pretty please?</p>