title: Magento Connect Manager / 404 Error / Magento 1.9
body: <p>Path 
  Admin > System > Magento Connect > Magento Connect Manager</p>
  
  <p>What I have tried.</p>
  
  <ul>
  <li>Searched / read every post I can find on it</li>
  <li>Reset folder and file permissions</li>
  <li>Cleared cache</li>
  <li>Re-indexed everything</li>
  <li>logout / login</li>
  </ul>
  
  <p>I migrated from Debian to Centos 5, not sure what the issue would be.</p>
  
  <p>File Permissions</p>
  
  <pre><code>sudo find . -type f -exec chmod 644 {} \;
  sudo find . -type d -exec chmod 755 {} \;
  sudo chmod o+w var app/etc
  sudo chmod 550 mage 
  sudo chmod -R o+w media
  </code></pre>
  
  <p>Url that shows 404 page</p>
  
  <pre><code>http://my-website.com/downloader/?return=http%3A%2F%2F...
  </code></pre>
  
  <p><strong>Edit:</strong>
  Magento 404  page - "Whoops, our bad..." page is displayed.</p>
  
  <p><strong>Solved:</strong></p>
  
  <p>I deleted downloader folder and uploaded the one from the previous/debian site and it started working.</p>