title: Codeigniter 500 internal server error due to index.php
body: <p>I am working with codeigniter framework, and as I upload it to a host, it gave me a 500 Internal error.</p>
  
  <p>But when I add <code>index.php</code> to <code>config.php</code> , it worked.</p>
  
  <p>What should I do?</p>
  
  <p>In my .htaccess I have this:</p>
  
  <pre><code>RewriteEngine On
  
  RewriteBase /ci-framework/
  </code></pre>
  
  <p>And also when I clean <code>/ci-framework/</code> from end of RewriteBase it doesn't work.</p>
  
  <p>Thank you very much.</p>